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

Settings menu access #31

Open
amandafrench opened this issue Aug 3, 2013 · 3 comments
Open

Settings menu access #31

amandafrench opened this issue Aug 3, 2013 · 3 comments

Comments

@amandafrench
Copy link
Contributor

On multisite installs it seems wise to offer the option of limiting access to the Participad Settings to the network admins instead of giving it to the site admins. I hard-coded this change on thatcamp.org (see chnm/thatcamp-org@a76efa8), but it might be good to offer it as an option.

@amandafrench
Copy link
Contributor Author

I should add that of course Network admins on multi-site installs can choose globally whether to let site admins activate / deactivate / manage plugins that aren't Must-use or Network Activated; on thatcamp.org they can. Except, now, for Participad.

@boonebgorges
Copy link
Owner

This is a good suggestion. I'll put in a filter right away. A UI option takes much more time to implement - maybe at a later date.

boonebgorges added a commit that referenced this issue Aug 5, 2013
On some Network setups, it may be preferable for the super admin to
restrict access to the Participad admin panel. The new filter
participad_hide_admin_panel_from_site_admin allows this to happen.

See #31
@boonebgorges
Copy link
Owner

To implement, put the following in an mu-plugin:

add_filter( 'participad_hide_admin_panel_from_site_admins', '__return_true' );

I'll leave the ticket open in case we want to do a UI option at some point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants