alexcapes Posted June 15, 2015 Share Posted June 15, 2015 Hi, In the site I'm surrently creating I have a role for translators that can go and edit and translate unpublished posts. They are not able to publish these pages (as an editor has to approve the pages first). This works great and I've created a module that the editor can publish these posts from the 'master' English version. However these translators need to go and add their translations to pages which are 'tags'. These 'tag' pages are already live, as they are created by a page fieldtype in the English version, so the translator role is not able to 'edit' them (as that would be equivalent to publishing). Is it possible to have the 'publish' permission per template so I could give publish rights to the translators to the 'tag' template but not the 'article' template? Any help much appreciated. - Alex Link to comment Share on other sites More sharing options...
LostKobrakai Posted June 15, 2015 Share Posted June 15, 2015 You could use the DynamicRoles module to do so or write a custom hook, which extends Page::publishable to allow the editing of tags. 2 Link to comment Share on other sites More sharing options...
alexcapes Posted June 15, 2015 Author Share Posted June 15, 2015 @LostKobrakai thank you, the Dynamic Roles Module is exactly what I'm looking for. I've used it to override and allow 'page-publish' for translators on the 'tag' template. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now