You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have controllers that has ghost-access already configured, how do I add another action with certain permission that is not controlled by action?
Example, I have CommandController.php and ghost-access has if ( User::canRoute($route) ) checking. But, I need to have another permission, eg: 'has feature xyz' that allowed user to open actionTools.
How do I configure my controller?
I set this in behaviours(), but still, ghost-access disallowed me to access.
I have controllers that has ghost-access already configured, how do I add another action with certain permission that is not controlled by action?
Example, I have
CommandController.php
and ghost-access hasif ( User::canRoute($route) )
checking. But, I need to have another permission, eg: 'has feature xyz' that allowed user to openactionTools
.How do I configure my controller?
I set this in
behaviours()
, but still, ghost-access disallowed me to access.The text was updated successfully, but these errors were encountered: