You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to create a user management system with four levels of users: Admins, HRs, Senior Developers, and Developers. Each level can see the level below them (See the Reports) but not the level above them. Additionally, each level can send a report to the direct upper level only.
I would like to achieve this without creating separate modules (MySQL tables) since Nova policy relies on modules. I have looked into some resources and found that Laravel Nova provides fine-grained authorization support for relationships, tools, actions, lenses, and fields.
I would like to know if there is a way to create multi-level user management via the policy system in Laravel Nova without creating separate modules since we already have a user module.
Any help or guidance would be greatly appreciated.
Thank you for your time and consideration.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Dear Laravel Nova maintainers,
I am trying to create a user management system with four levels of users: Admins, HRs, Senior Developers, and Developers. Each level can see the level below them (See the Reports) but not the level above them. Additionally, each level can send a report to the direct upper level only.
I would like to achieve this without creating separate modules (MySQL tables) since Nova policy relies on modules. I have looked into some resources and found that Laravel Nova provides fine-grained authorization support for relationships, tools, actions, lenses, and fields.
I would like to know if there is a way to create multi-level user management via the policy system in Laravel Nova without creating separate modules since we already have a user module.
Any help or guidance would be greatly appreciated.
Thank you for your time and consideration.
Sincerely,
Beta Was this translation helpful? Give feedback.
All reactions