[Feature Request] Give translation access to custom role
This thread is resolved. Here is a description of the problem and solution.
Problem: The client is trying to set up a custom role for site editors to manage translations without giving them super admin permissions. They have used the User Role Editor plugin to configure the role but are unable to see the edit button for translations in the backend or frontend, despite following the steps in the provided documentation and ensuring all checkboxes are enabled. Solution: We recommend updating WPML to the latest version, as this issue has been addressed in version 4.6.9. Before updating, ensure to create a complete backup of the site. For more details on the issue and the fix, please refer to the errata page:
Tell us what you are trying to do?
I have a custom role that has been setup for site editors so they can use the site whilst not being super admins. I've installed user role editor plugin to be able to configure this role. I don't want to install toolset access to make this work, nor do I want to give out permissions specifically to each user as is documented. This needs to work at the role level. I've followed the steps here https://wpml.org/forums/topic/wmpl-capabilities-for-a-custom-role/ and this still is not working. All of the checkboxes are enabled and I still do not see the edit button either in the backend or front end when looking at a translated page like I see when I am a super admin.
Languages: English (English )Portuguese (Brazil) (Português )
Timezone: America/Sao_Paulo (GMT-03:00)
Hi there,
Thanks for sharing the workaround!
As mentioned in the ticket I linked previously, right now we're evaluating the possible implementation of this feature. Just as a formality, and in order to proceed with the feature request, may I kindly ask you to tell us a bit more about the exact reasons for a custom role in your case?
From WPML 4.6.7 the editor role now has the capability to edit all translation which was possible only with admin roles before this WPML version. So perhaps this could be a solution.
Please let me know about the first question, and if the 'Editor' role would be sufficient in this case.
We sometimes have use cases and the need for custom roles outside those built into wordpress. So simply using administrator and/or editor is not enough. The roles may not be consistent between projects either, or it may be the case that we inherit a site that is already using either of those roles and we require the control on our end to still allow edits to translations. Therefore the flexibility to do this just like any other capability via user role editor or similar plugin would be something I'm sure the community could benefit from.
Languages: English (English )Portuguese (Brazil) (Português )
Timezone: America/Sao_Paulo (GMT-03:00)
Hi there,
Thank you for the clarifications.
I have escalated this ticket to our 2nd tier of support where our 2nd tier specialists will take a deeper look at this issue and will try to find a solution.
I will get back to you as soon as I get an answer from them.