Skip to content

How do we delete a permission? #2278

Answered by parallels999
euoia asked this question in Q&A
Discussion options

You must be logged in to vote

that PermissionContract ought to extent the Model or findByName could return a Permission object directly?

No, beacuse model can be customizable

you may add a comment:
/** @var YourPermisionClass $permission */

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@euoia
Comment options

@parallels999
Comment options

Answer selected by drbyte
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants