how to use permission via $routes->group #1236
Unanswered
yonggang-xiao
asked this question in
Q&A
Replies: 1 comment
-
I found the reason: |
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.
-
Authorizing via Routes:
auth()->user()->can('admin.access') yes
auth()->user()->can('users.create') no
but now user can access {locale}/admin/user/new and {locale}/admin/user/create
I wonder if the config is correct?
Beta Was this translation helpful? Give feedback.
All reactions