Set visibility/access to sanctum tokens feature based on callback #232
JeremyDunn
started this conversation in
Ideas
Replies: 1 comment
-
I also want to have this feature, where only users with an admin or dev role can generate tokens. |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
I'd like to conditionally show/hide the sanctum token section on the my profile page based on the current user's permissions.
Maybe the
enableSanctumTokens
method's condition parameter could accept a callback or boolean?Beta Was this translation helpful? Give feedback.
All reactions