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

User Role Editor Settings #56

Open
TomLewis opened this issue Apr 21, 2021 · 3 comments
Open

User Role Editor Settings #56

TomLewis opened this issue Apr 21, 2021 · 3 comments
Milestone

Comments

@TomLewis
Copy link

Trying to set permissions in User Role Editor for MediaPress but I can't seem to find any permissions to set to users?

@sbrajesh
Copy link
Member

Hi Tom,
Thank you for the question.

At the moment, we are not creating any capability. You can control and fine tune the permissions using various available hooks.

Please have a look at this file.

https://github.com/buddydev/mediapress/blob/master/core/mpp-permissions.php

Regards
Brajesh

@TomLewis
Copy link
Author

Hi @sbrajesh user role editor allows setting which roles can use what permissions based on the WordPress roles and capabilities, please can you add your own permissions so that they can be assigned to roles instead of being hard coded

https://wordpress.org/support/article/roles-and-capabilities/

@sbrajesh
Copy link
Member

Hi Tom,
Thank you. I am familiar with adding new caps. When we developed this plugin in 2014, it was not planned as everything was planned for front end and BuddyPress(all logged users or none kind of setup).
We will be adding capabilities for all the atomic actions but this is going to take time. I am putting for 2.0.

If you want to enable/disable some feature for specific role, Please let me know and I will assist you with custom code.

Thank you

@sbrajesh sbrajesh added this to the 2.0 milestone May 18, 2021
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