Frontend Access of Modules Based on Groups

Moderators: mandville, PhilD, General Support Moderators

destrecht
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Thu Sep 06, 2012 2:23 am

Frontend Access of Modules Based on Groups

Postby destrecht » Thu Mar 08, 2018 2:41 pm

I'm trying to control access to two different modules on the same page. By access I mean viewing the module, not permissions involving editing or anything like that.

the page is tutorials.
there are two groups. writers and creatives
I've set the viewing level to both

I have two modules in the menu item tutorials.

one module is a blog list of writer tutorials
one module is a blog list of creative tutorials

I set a user to the group creative

I log in and both modules come up.

From what I read, this shouldn't happen. this is an example from the access levels tutorial.

Team Security Example

Another possible use case is a set of non-hierarchical teams. Let's say we have three teams, T1, T2, and T3. Some users are only on one team, but others might be on two or more teams. In this case, we could set up our Access Levels and Groups by team. Documents for each team have the access level for that team, and the Group for the team has only the one access level. When a User is on more than one team, they get added to the group for each team, as follows:
User Description Group Access Levels
U1 Team 1 member T1 T1
U2 Team 2 member T2 T2
U3 Team 3 member T3 T3
U1-2 Member of teams 1 and 2 T1, T2 T1, T2
U1-3 Member of teams 1 and 3 T1, T3 T1, T3
U1-2-3 Member of teams 1,2, and 3 T1,T2, T3 T1, T2, T3




What am I doing wrong?

mabdelaziz
Joomla! Intern
Joomla! Intern
Posts: 87
Joined: Mon Aug 21, 2006 10:56 am
Location: Alexandria, Egypt
Contact:

Re: Frontend Access of Modules Based on Groups

Postby mabdelaziz » Thu Mar 08, 2018 5:16 pm

Hi,

You need to setup the access level for both the module, so that the writers blog list module will have writers access level, and so on
Joomla extensions, tutorials and blogs
https://www.joomreem.com

Custom development is available.
Mohamed Abdelaziz

destrecht
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Thu Sep 06, 2012 2:23 am

Re: Frontend Access of Modules Based on Groups

Postby destrecht » Thu Mar 08, 2018 5:58 pm

I feel stupid. After looking forever, it was user error. I had one group in registered and one in public.


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

Who is online

Users browsing this forum: No registered users and 1 guest