how can I check permission is used or not before delete? #1831
Unanswered
Logical-Developer
asked this question in
Q&A
Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
I want delete one specific permission, how can I check permission is used or not?
I know it should be done in 3 parts:
in first step I checked roles have this permission:
$permission->roles()->count()
Please help me how can I check before delete permission ?
Beta Was this translation helpful? Give feedback.
All reactions