mediapress icon indicating copy to clipboard operation
mediapress copied to clipboard

User Role Editor Settings

Open TomLewis opened this issue 5 years ago • 3 comments

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

TomLewis avatar Apr 21 '21 15:04 TomLewis

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

sbrajesh avatar May 18 '21 09:05 sbrajesh

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/

TomLewis avatar May 18 '21 10:05 TomLewis

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 avatar May 18 '21 18:05 sbrajesh