Need to grant access to administration

Moderators: mandville, General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Locked
yodam
Joomla! Apprentice
Joomla! Apprentice
Posts: 42
Joined: Sat Aug 25, 2018 5:12 pm

Need to grant access to administration

Post by yodam » Sat Apr 11, 2020 4:37 pm

Hi,
I need to grant access to some kind of users on Joomla Administration.

I have:

Moderator of component1 that NOT need to access administration
Moderator of component2 that need to access administration
Moderator of component3 that need to access administration

Now if I give to a user component1 and component2 moderator access, the user loose the access to administration because component1 can not access administration.

How can I do to not make user loose access to administration?

Thanks!
Last edited by toivo on Sun Apr 12, 2020 12:00 am, edited 1 time in total.
Reason: mod note: retitled - please read the forum rules about appropriate subject line from https://forum.joomla.org/viewtopic.php?f=8&t=65

User avatar
mjparadac
Joomla! Hero
Joomla! Hero
Posts: 2488
Joined: Mon Oct 29, 2012 3:58 pm

Re: Need to grant access to administration

Post by mjparadac » Sun Apr 12, 2020 4:50 pm

Hello yodam

This documentation could help you
https://docs.joomla.org/J3.x:Access_Con ... t_Tutorial

Regards,
Joomla Community Ambassador for A2 Hosting | A2 Hosting - Our speed, your success | https://www.a2hosting.com/joomla-hosting

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

Re: Need to grant access to administration

Post by Webdongle » Sun Apr 12, 2020 5:23 pm

Create a user group with Registered as parent
In Global config Allow admin login
In the Component's Options ... give the Permissions required.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

yodam
Joomla! Apprentice
Joomla! Apprentice
Posts: 42
Joined: Sat Aug 25, 2018 5:12 pm

Siblings ACL conflict

Post by yodam » Sun May 17, 2020 3:15 pm

Hi,
I've already asked a similar question but I've not understood the answer (my fault).

1) I need to give administrative access to moderators

2) I have a component for advertisment, in back-end the "Ad moderator" checks if the Ad is acceptable

3) I have a forum component, "Forum moderator" checks in administration if posts of users are acceptable

I'm thinking to do this ACL like this:

Manager
|
|---Ad moderator
|
|---Forum moderator
|
|---XXXXX Moderator

now Forum moderator hasn't access to "Ad Component" and Ad Moderator hasn't access to "Forum Component".

If I need to grant both the administrative privilages to the same user, I can't just add both "Forum moderator" and "Ad moderator" to his "Assigned User Groups"
because they will conflict each other and for every "Action" it will automatically chose the more restrictive permission setting between the conflicting ones.

How have I to set my ACL to avoid this situation?

My purpose is to have a user and give him access to every component in administration by selecting Ad moderator, Forum moderator, XXXXX Moderator, etc.

Thanks!
Last edited by toivo on Sun May 17, 2020 3:19 pm, edited 1 time in total.
Reason: mod note: merged with the current topic, cross posting not allowed in forum rules, available from https://forum.joomla.org/viewtopic.php?f=8&t=65

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

Re: Siblings ACL conflict

Post by Webdongle » Sun May 17, 2020 6:32 pm

yodam wrote:
Sun May 17, 2020 3:15 pm
...
I'm thinking to do this ACL like this:

Manager
|
|---Ad moderator
|
|---Forum moderator
|
|---XXXXX Moderator

...
Wrong to mix different groups. Permissions inherited downwards.


|>Ad Author (Registered as parent) ... in Ad category allow Create, Edit own
|>>Ad Moderator (Ad Author as parent) ... in Ad category Create and Edit own will be inherited. Allow Edit, Delete.

|>Forum Author (Registered as parent) ... in Forum category allow Create, Edit own
|>>Ad Moderator (Forum Author as parent) ... in Forum category Create and Edit own will be inherited. Allow Edit, Delete.

If you want them to access backend
Select each in the 'Special' view/access (admin menu module is 'Special' view level).
In Gobal config allow admin login
In Article config allow admin interface.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".


Locked

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