ACL: Hide some modules in the module section for a user group
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.
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.
-
- Joomla! Apprentice
- Posts: 32
- Joined: Thu Feb 16, 2012 3:22 pm
ACL: Hide some modules in the module section for a user group
Hello,
is it possible to hide some modules (site) and all admin modules in the modules section (backend).
I have created a new user group and this group have only the following global module permission:
- Access Administration Interface
The modules, which should be visible, the group have the following permissions:
- Delete
- Edit
- Edit State
Now all other modules are blocked but visible. I have tested with an own view access level, but so far without success.
Is there solution to hidden this modules?
is it possible to hide some modules (site) and all admin modules in the modules section (backend).
I have created a new user group and this group have only the following global module permission:
- Access Administration Interface
The modules, which should be visible, the group have the following permissions:
- Delete
- Edit
- Edit State
Now all other modules are blocked but visible. I have tested with an own view access level, but so far without success.
Is there solution to hidden this modules?
- Per Yngve Berg
- Joomla! Master
- Posts: 31085
- Joined: Mon Oct 27, 2008 9:27 pm
- Location: Romerike, Norway
Re: ACL: Hide some modules in the module section for a user group
What is the parent group of this new group? It will inherit permissions from parent groups.
-
- Joomla! Apprentice
- Posts: 32
- Joined: Thu Feb 16, 2012 3:22 pm
Re: ACL: Hide some modules in the module section for a user group
The parent group is public.
If I change the view access level for a module from public to e.g. super-user . The module is now hidden for the user group.
But now the module is also hidden in the fronted for the normal website visitior.
At the moment the user group have the following viewing access:
- own accell level
- special
If I change the view access level for a module from public to e.g. super-user . The module is now hidden for the user group.
But now the module is also hidden in the fronted for the normal website visitior.
At the moment the user group have the following viewing access:
- own accell level
- special
- Webdongle
- Joomla! Master
- Posts: 44175
- Joined: Sat Apr 05, 2008 9:58 pm
Re: ACL: Hide some modules in the module section for a user group
https://docs.joomla.org/J3.x:Access_Con ... t_Tutorial may be of help
btw
For back end Permissions new user groups should have Parent 'Public
#Then allow login, admin login ... everything else inherited. Access admin interface should be set per component.
New user groups for admin should be selected in 'Special' user group to allow them to see the Admin menu.
#
But read and reread the documentation to fully understand the difference (and relationship) between Permissions and user groups.
btw
For back end Permissions new user groups should have Parent 'Public
#Then allow login, admin login ... everything else inherited. Access admin interface should be set per component.
New user groups for admin should be selected in 'Special' user group to allow them to see the Admin menu.
#
But read and reread the documentation to fully understand the difference (and relationship) between Permissions and user groups.
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".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
- leolam
- Joomla! Master
- Posts: 20652
- Joined: Mon Aug 29, 2005 10:17 am
- Location: Netherlands/ Germany/ S'pore/Bogor/ North America
- Contact:
Re: ACL: Hide some modules in the module section for a user group
The easiest way of avoiding endless reads on ACL and trying to understand this magic is to download a plugin called ACL Manager https://extensions.joomla.org/extension/acl-manager/ It is a commercial extension but not expensive and review the demo and you will see how easy it will helpyou. They have been doing the thinking for you
Leo
Leo
Joomla's #1 Professional Services Provider:
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -
-
- Joomla! Apprentice
- Posts: 32
- Joined: Thu Feb 16, 2012 3:22 pm
Re: ACL: Hide some modules in the module section for a user group
My settings are exactly as you described them. (Webdongle)
The backend login and the access to extensions are not my problem.
I set the access admin interface for modules to allowed. I can see the extionsions modules.
But I can also see all modules when I logged in with the user group.
But I want only see a specific module of this user group. In the frontend this module should be visible to everyone (public).
Thanks to Leo. I'm looking at the extension.
The backend login and the access to extensions are not my problem.
I set the access admin interface for modules to allowed. I can see the extionsions modules.
But I can also see all modules when I logged in with the user group.
But I want only see a specific module of this user group. In the frontend this module should be visible to everyone (public).
Thanks to Leo. I'm looking at the extension.
- Webdongle
- Joomla! Master
- Posts: 44175
- Joined: Sat Apr 05, 2008 9:58 pm
Re: ACL: Hide some modules in the module section for a user group
No they are not
Firstly you have set that in global, my suggestion was that it is not set in global. Secondly Permissions are not set for modules theyt are set for what users (in a user group) can do.morhinio wrote:I have created a new user group and this group have only the following global module permission:
- Access Administration Interface
I strongly recommend that you read the wiki docs. Using an extension for ACL is a 'catch 22'. if you don't fully understand the difference (and relationship) between Permissions and user groups then you will have difficulty configuring an ACL extension. But if you understand them then you probably not need the extension.
Not understanding that is where you are getting confused.The Joomla ACL system can be thought of as being divided into two completely separate systems. One system controls what things on the site users can view. The other controls what things users can do (what actions a user can take). The ACL for each is set up differently.
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".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- Joomla! Apprentice
- Posts: 32
- Joined: Thu Feb 16, 2012 3:22 pm
Re: ACL: Hide some modules in the module section for a user group
Webdongle, you are right. This setting had I described wrong in my first post or I had changed it in the meantime.
My mistake was to use the public access level for the modules. The parent of my user group is also public.
Now I have changed it to guest and my user group can not see the modules in the modules extension.
But some admin modules like admin menu, toolbar have the access level special. My user group also need this access level.
Is there posibility to hide this admin modules?
My mistake was to use the public access level for the modules. The parent of my user group is also public.
Now I have changed it to guest and my user group can not see the modules in the modules extension.
But some admin modules like admin menu, toolbar have the access level special. My user group also need this access level.
Is there posibility to hide this admin modules?
- Webdongle
- Joomla! Master
- Posts: 44175
- Joined: Sat Apr 05, 2008 9:58 pm
Re: ACL: Hide some modules in the module section for a user group
You could create a user group 'Special 2'
Select super admin and your new backend group.
Deselect your new backend group from 'Special'
Then change the Admin module view/access level to 'Special 2'. Super admin and your new backend user group would see it. But only Super admin would see the other admin modules.
To prevent the new backend user group from accessing components, articles etc. ... do NOT change global Permission for 'Access admin interface' to allow.
Select super admin and your new backend group.
Deselect your new backend group from 'Special'
Then change the Admin module view/access level to 'Special 2'. Super admin and your new backend user group would see it. But only Super admin would see the other admin modules.
To prevent the new backend user group from accessing components, articles etc. ... do NOT change global Permission for 'Access admin interface' to allow.
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".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- Joomla! Apprentice
- Posts: 32
- Joined: Thu Feb 16, 2012 3:22 pm
Re: ACL: Hide some modules in the module section for a user group
Do you mean a new acces level?
If I deselect my new backend group from 'Special', the toolbar, ... is hidden. Even if I select my user group to the access level 'Special 2'.You could create a user group 'Special 2'
- Webdongle
- Joomla! Master
- Posts: 44175
- Joined: Sat Apr 05, 2008 9:58 pm
Re: ACL: Hide some modules in the module section for a user group
Sorry yes I meant access level 'Special 2'
If Super Admin and your new user group (that signs into backend) are selected in there
.and.
The menu module is set to 'Special 2'
.then.
Both Super Admin and your new user group (that signs into backend) will see the Admin menu
Deselecting the new user group (that signs into backend) from 'Special' access level does not stop them seeing the admin menu. It will stop them seeing other modules in the backend but you could also change the view/access level in any of the Administrative modules.
User groups selected in access/view levels combined with the access level that is selected in the module (or Component, category, article or module)
=
What users in that user group see
Permissions set in Global (or preferably per Component and/or Category/article)
=
What users in the user group (that has permissions) can do to manipulate what they see i.e. Edit,delete etc.
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".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".