Closed BenRutlandWeb closed 3 years ago
Is your feature request related to a problem? Please describe. Determining if a user has capabilities involves using the WordPress user_can method.
user_can
Describe the solution you'd like A Gate or Policy implementation like Laravel to create and check user capabilities.
Gate
Policy
Describe alternatives you've considered user_can, current_user_can
current_user_can
Additional context https://wordpress.stackexchange.com/questions/345902/want-to-know-parameters-that-can-be-passed-to-user-can-for-access-control-by-u on mapping new capabilities
Is your feature request related to a problem? Please describe. Determining if a user has capabilities involves using the WordPress
user_can
method.Describe the solution you'd like A
Gate
orPolicy
implementation like Laravel to create and check user capabilities.Describe alternatives you've considered
user_can
,current_user_can
Additional context https://wordpress.stackexchange.com/questions/345902/want-to-know-parameters-that-can-be-passed-to-user-can-for-access-control-by-u on mapping new capabilities