I would really appreciate an answer 🙂
BTW, I looked into the logs, but nothing’s in there.
I enabled “Manual rename” and if not, renaming via the Title works. But this is not what I would want.
Thanks!
-
This reply was modified 4 years, 9 months ago by
teresasumisu.
Do you have any plugin (or part of the theme) that changes the built-in roles/capabilities in any way?
Hi guys,
I have been working on roles support for all my plugins, and now they can be overriden. That will only work in the next release
I just wrote an explanation about it on my website: https://meowapps.com/media-file-renamer-faq-issues/#Access_Control_(Roles).
Don’t hesitate to contact me directly to try this new version if you are interested 🙂
Hi!
I don’t have any functionality in my theme which does anything to roles.
I don’t use a Plugin which does.
I tried your code from the blogpost, but as I understand this is only for the settings dashboard of the plugin. I guess the Dashboard is the one you can access via Navigation > Meow Apps > Renamer? This does not appear anywhere for the editor when adding the code. I tried both of the filter. I also added priority. Not working.
As for renaming itsef, the problem stays the same.
The Console shows some errors: https://ibb.co/6XrpP1w
A list of plugins you can find here: https://ibb.co/7zDhz5m (i tried to deactivate enhanced media library, nested pages, yoast. Not working.
PS: I just checked, this problem also occurs on another wp installation. Seems like this is no unique problem.
-
This reply was modified 4 years, 8 months ago by
teresasumisu.
The current version doesn’t support this in fact… sorry 🙁 I will release that version probably today. For the record, that is implemented only from the version 5.1.0. Please wait for it 🙂
Hi!
So I gut your recent update and pasted the following code to my function:
add_filter( 'mfrh_allow_usage', 'mfrhAllowUsage');
function mfrhAllowUsage( $allow ) {
return current_user_can( 'editor' ) || $allow;
}
add_filter( 'mfrh_allow_setup', 'mfrhAllowSetup');
function mfrhAllowSetup( $allow ) {
return current_user_can( 'editor' ) || $allow;
}
No Menu-Element for the Renamer Dashboard appears.
And also in the Media Overview the Renamer disappeared.
I double checked: Yes, the role the user has is an Editor. And yes, it still works for Admins.
Thanks!
Hi!
I saw you released another update, but it is still not working.
Is my code correct? (I added it to my functions.php)
Your help is really appreciated 🙂
Thanks a lot!
Best regards,
Teresa