why hasPermissionViaRole is protected? #1787
Unanswered
mtamagusku
asked this question in
Q&A
Replies: 1 comment
-
never i mind, it is call in hasPermissionTo. |
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
Uh oh!
There was an error while loading. Please reload this page.
-
I try to do this $model->hasPermissionViaRole($permision) y got the next error:
"Call to undefined method App\Models\Model::hasPermissionViaRole()", "exception": "BadMethodCallException".
My model use HasRole trait.
Beta Was this translation helpful? Give feedback.
All reactions