Posted by zroger on February 2, 2009 at 5:15pm
I've just released the first alpha of a new module called i18n_access. This module aims to fill a gap in access control for sites using i18n.
The module adds a list of checkboxes for each available language to the user add/edit form (only visible to users with 'administer users' permission). These language permissions are combined with the normal user permissions to give more fine-grained access control.
- When creating new content, the language select box will only contain those languages that a user has permissions for.
- The translation tab on nodes will only show Add Translation, or Edit for those langauges that a user has permissions for.
- The edit tab will not show for if a user does not have access to the language of that node. The node edit page will also return an access denied in this case.
- Language Neutral is supported, so unless a user has access to Language Neutral, they will be forced to select a language for every translatable node.
- No effect on nodes that are not translatable
- Users with "Administer nodes" permission still have access to all langauges
This module is proving to be very helpful for our purposes. I hope more people can use it as well.
