Skip to content

Hide Roles [in dashboard] depending upon roles #60

Discussion options

You must be logged in to vote

Hey @BilalMajeedDarvis, as per Nova docs, you could prevent specific roles from being listed in the resource index by extend the Role resource and filtering them out through the indexQuery().

For the rest of the actions like view, update, delete, etc, it can be done via the RolePolicy.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by pktharindu
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants