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

Fix capabilities when creating Submenus #20

Open
walisc opened this issue Aug 26, 2019 · 0 comments
Open

Fix capabilities when creating Submenus #20

walisc opened this issue Aug 26, 2019 · 0 comments
Assignees
Milestone

Comments

@walisc
Copy link
Owner

walisc commented Aug 26, 2019

Currently the is one capabilities wrapper, that is WP_PERMISSIONS::MANAGE_OPTIONS. Need to get a magic wrapper, that take the existing permission and create this wrapper consts. Also need to logic to combine capabilities and use that instead. Also, the capabilities cannot just be one value., must allow multiple. A suggestions will be to add Capabilities class, that takes a array for role/capabilities and evaluates correctly

@walisc walisc self-assigned this Aug 26, 2019
@walisc walisc added this to the v2.0.0 milestone Aug 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant