Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gate/Policy #97

Closed
BenRutlandWeb opened this issue May 12, 2021 · 0 comments · Fixed by #101 or #102
Closed

Gate/Policy #97

BenRutlandWeb opened this issue May 12, 2021 · 0 comments · Fixed by #101 or #102
Assignees
Labels
enhancement New feature or request

Comments

@BenRutlandWeb
Copy link
Collaborator

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 or Policy 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

@BenRutlandWeb BenRutlandWeb added the enhancement New feature or request label May 12, 2021
@BenRutlandWeb BenRutlandWeb self-assigned this May 12, 2021
This was linked to pull requests May 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant