Frontend Access of Modules Based on Groups

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
destrecht
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Thu Sep 06, 2012 2:23 am

Frontend Access of Modules Based on Groups

Post by 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: 88
Joined: Mon Aug 21, 2006 10:56 am
Location: Alexandria, Egypt
Contact:

Re: Frontend Access of Modules Based on Groups

Post by 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: 11
Joined: Thu Sep 06, 2012 2:23 am

Re: Frontend Access of Modules Based on Groups

Post by 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.


Locked

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