Protected content visible.

Moderators: mandville, PhilD, General Support Moderators

jsubri
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Mon Oct 11, 2010 10:29 pm

Protected content visible.

Postby jsubri » Sun Mar 12, 2017 10:15 am

I'm struggling to get the Access Levels protecting "what you can see", I probably missed a step or something obvious. After many attempts on various installation 3.6.4, 3.6.5 or even 3.7b3, I've reduced the use case to the minimum (removed muIti-lingual), I'm posting here to get assistance.

Install steps: Joomla_3.6.5-Stable-Full_Package.zip , PHP 5.6
Sample Data None
Extra steps: Install languages French + Dutch
Activate the multilingual feature No
Set English (en-GB) (admin & site)

• Users: Groups – “base member” with Registered as parent group
• Users: Groups – “advanced member” with Registered as parent group
• Users: Viewing Access Levels - “base member” member of group: “base member“
• Users: Viewing Access Levels - “advanced member” member of groups “base member“ + “advanced member“
• Created user1 with Assigned User Group = “base member”
• Created user2 with Assigned User Group = “base member“ + “advanced member“

All below steps are for language = “All”
• Created category “category-for-everything” no-parent, access=“base member”
• Created category “base member” parent=”category-for-everything”, access=“base member”
• Created category “advanced member” parent=”category-for-everything”, access=“ advanced member”
• Created article “Article base member”, category=“base member”, access=“base member”
• Created article “Article advanced member”, category=“ advanced member”, access=“ advanced member”
• Added a menu “menu-for-everything”
• Create a menu item “menu for base member”, single article “base member”, menu “menu-for-everything”, access=“base member”
• Create a menu item “menu for advanced member”, single article “advanced member”, menu “menu-for-everything”, access=“advanced member”
• Create a menu module, menu “menu-for-everything”, access=“base member”

Login with user1, the "advanced member" menu/content is visible

Thank you

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 23580
Joined: Mon Oct 27, 2008 9:27 pm
Location: Akershus, Norway

Re: Protected content visible.

Postby Per Yngve Berg » Sun Mar 12, 2017 11:49 am

Remember that both groups will inherit permissions from the Registered Group.

Have you checked the Effective Rights Column in ACL?

jsubri
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Mon Oct 11, 2010 10:29 pm

Re: Protected content visible.

Postby jsubri » Sun Mar 12, 2017 2:19 pm

Yes the 2 groups are part of the Registered group as per https://docs.joomla.org/J3.x:Access_Con ... t_Tutorial

"Level Name" "User Groups Having Viewing Access" "ID"
"Public" "Public" 1
"base member" "base member" 7
"advanced member" "base member, advanced member" 8
"Guest" "Guest" 5
"Registered" "Public" 2
"Special" "Author, Manager, Super Users" 3
"Super Users" "Super Users" 6

SELECT * FROM `#__usergroups`
id parent_id lft rgt title
1 0 1 22 Public
2 1 8 19 Registered
3 2 11 16 Author
4 3 12 15 Editor
5 4 13 14 Publisher
6 1 4 7 Manager
7 6 5 6 Administrator
8 1 20 21 Super Users
9 1 2 3 Guest
10 2 17 18 base member
11 2 9 10 advanced member

Is the above the ACL "column" is what you are looking for?

How shall I setup the "base member" and "advanced member" in a way they can only see a subset of the broader Registered group?


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

Who is online

Users browsing this forum: No registered users and 4 guests