F
Filamentβ€’13mo ago
LSTMal007

Restrict a navigation Item

Hello, could someone explain how I go about restricting a navigation item based on a basic user_type == from a field on the user table? I don't need an elaborate full-blown role, permissions, as it will be used by me and one other person. Cheers
6 Replies
LSTMal007
LSTMal007OPβ€’13mo ago
hello I'm using Panels, and still, none the wiser reading the documents πŸ˜† but it is fine, I've decided to remove the resources they don't require access.
toeknee
toekneeβ€’13mo ago
You need to just setup Laravel policies, it's fairly simple and we inherit them.
LSTMal007
LSTMal007OPβ€’13mo ago
I'll have a look next week, I've been working on a Magento project for 6 months, and I've found out getting older, I'm a bit like Homer Simpson, If I start learning something else all the past knowledge falls out of my head.
toeknee
toekneeβ€’13mo ago
I hate Magento, so may the force be with you.
Want results from more Discord servers?
Add your server