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

Add setting for role access #59

Closed
frankiejarrett opened this issue Dec 9, 2013 · 2 comments
Closed

Add setting for role access #59

frankiejarrett opened this issue Dec 9, 2013 · 2 comments

Comments

@frankiejarrett
Copy link
Contributor

We should allow Stream access to be granted to any user role.

However, I think only site Administrators (and Super Admins for multisite) should be able to access the Stream Settings screen.

screen shot 2013-12-09 at 11 28 31 am

This was referenced Dec 10, 2013
@kucrut
Copy link
Contributor

kucrut commented Dec 12, 2013

@fjarrett If we were to do this, then we also need to modify the link(s) under the action summaries. For example, Contributors won't be able to view the Settings > General page that's currently always shown under the summary when something changed there.

@kucrut
Copy link
Contributor

kucrut commented Dec 12, 2013

@fjarrett Also, since add_menu_page() and friends requires a capability argument and not role, I think we need to use a custom capability when registering the parent menu and filter user_has_cap to dynamically grant capability to users from the allowed roles.

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

2 participants