Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question, Help] How i do to check list of permissions() if used by user then disable delete #170

Closed
agungsugiarto opened this issue Mar 14, 2020 · 1 comment

Comments

@agungsugiarto
Copy link
Contributor

How i do to check list of permissions() if used by other user then disable the delete button? Its same with case list of groups()

image

@lonnieezell
Copy link
Owner

There isn't any built-in method for that, but you could do a simple query against the auth_groups_permissions and auth_users_permissions table in the controller or a library to compile that information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants