Language based ACL

Moderators: mandville, PhilD, General Support Moderators

sural98
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 214
Joined: Fri Feb 17, 2006 5:32 pm

Language based ACL

Postby sural98 » Mon Jun 19, 2017 6:25 pm

I have a Multilanguage Joomla 3.7.2 installation of 2 languages (en,fr).
I will create Article managers group with 2 users (en-user, fr-user), 1 for each language.
Each user will be able to login to the backend and access article manager ONLY.
en-user will have access articles/categories in English
fr-user will have access articles/categories in French.
Based on this scenario is it possible to create users based on language or can we set acl for installed languages?
OR
what is the best to implement this scenario?

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 33167
Joined: Sat Apr 05, 2008 9:58 pm

Re: Language based ACL

Postby Webdongle » Mon Jun 19, 2017 7:32 pm

Your setup sounds good. The 'magic' you need is set the Permissions per Category

Create a 'French' User Group (with Registered as Parent)
Create a 'French Author' User Group (with French as Parent)
And so on matching the standard Joomla Author ect. hierarchy (hierarchy not Permissions)

Do the same for 'English Author' etc.
(The reason being that the standard Joomla Author etc. has Permissions are set in Global config

Global Options ... Allow admin login for each of your new User Groups. Everything else 'Inherited'.
Article Options ... Allow Access Administration Interface for each of your new User Groups. Everything else 'Inherited'.

Create a 'French' Category
Allow Create/Edit etc. for the relevant French user groups

Create an 'English' Category
Allow Create/Edit etc. for the relevant English user groups

You can create subcategories in each of the main Categories and the Permissions will be honoured.
e.g. The French Category can have a child (subcategory) called 'French food'. The Permissions set for 'French Author' etc. (in the French Category) will be the same in the child (subcategory)'French food'

The key is not to alter the standard Joomla user groups but to use them as a example of user group structure for your two languages.

sural98
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 214
Joined: Fri Feb 17, 2006 5:32 pm

Re: Language based ACL

Postby sural98 » Mon Jun 19, 2017 7:44 pm

Thanks WebDongle!


Return to “Access Control List (ACL) in Joomla! 3.x”

Who is online

Users browsing this forum: No registered users and 3 guests