Limit User To One Component

Moderators: mandville, PhilD, General Support Moderators

Jay313
Joomla! Apprentice
Joomla! Apprentice
Posts: 47
Joined: Wed May 26, 2010 6:47 pm

Limit User To One Component

Postby Jay313 » Thu Feb 25, 2016 2:18 am

Greetings,

I'm having the toughest time in trying give a User Group access to ONE component on the Administration Control Panel. I've given the user group (Moderators) access to the Components Administration Panel and went through the list of Components under Global Configurations and Denied the User Group access to the Administration Panel for each option however when I log in with that user who's been assigned to that User Group -Moderators - I don't see the component that I gave the user group access to.

I only want said User to see One component when they sign in to the control panel.

What am I doing wrong?

Thanks,
James

User avatar
sudo-web
Joomla! Ace
Joomla! Ace
Posts: 1325
Joined: Fri Jan 22, 2016 7:10 pm
Location: Vienna - Austria
Contact:

Re: Limit User To One Component

Postby sudo-web » Thu Feb 25, 2016 9:03 am

I can't tell you exactly what you did wrong but, the Idea is ok and it is possible to do this.
There are 2 areas where you have to check one is the Global configuration, the second is each component itself.

On both areas you have the ACL for every Group. Check your settings for the Moderators.

I would generate a new group but you can use the Moderators as well if you do not have or if you do not plan to have any user in the Administrator group.
Visit me on my Webdesign Webpage: https://www.posit.at

User avatar
AlexVega
Joomla! Hero
Joomla! Hero
Posts: 2093
Joined: Fri Aug 28, 2015 6:13 am
Location: México
Contact:

Re: Limit User To One Component

Postby AlexVega » Thu Feb 25, 2016 9:12 am

Hi there,

Here you have the full process:

- Create your new user group,
- Create your user, select in parent group for example administrator and assign
your new user to your new user group,
- Go to System > Global Configuration here you have the components list,
- Select your user group in the Permissions Tab in each component and
disable the values for access, edit, delete and so on.

Cheers!

Jay313
Joomla! Apprentice
Joomla! Apprentice
Posts: 47
Joined: Wed May 26, 2010 6:47 pm

Re: Limit User To One Component

Postby Jay313 » Thu Feb 25, 2016 4:29 pm

Very strange....I did configurations as you suggested and what's weird....I made no changes to any of the other components, under that User Group, and when I log in as that user to the Admin Control Panel, I see all components except the one I need the User to see. I have given this User permissions to everything except ACL Config to the component that I want them to see.

But when I sign in as Administrator - I can see the component.

Question, when I create the User Group - what should the Parent group be?
Last edited by Jay313 on Thu Feb 25, 2016 4:45 pm, edited 1 time in total.

User avatar
sudo-web
Joomla! Ace
Joomla! Ace
Posts: 1325
Joined: Fri Jan 22, 2016 7:10 pm
Location: Vienna - Austria
Contact:

Re: Limit User To One Component

Postby sudo-web » Thu Feb 25, 2016 4:36 pm

I don’t believe in one fits all solutions, so it depend on your situation. The easiest way would be to make the Public group the parent group and only activate what you need.
Visit me on my Webdesign Webpage: https://www.posit.at

Jay313
Joomla! Apprentice
Joomla! Apprentice
Posts: 47
Joined: Wed May 26, 2010 6:47 pm

Re: Limit User To One Component

Postby Jay313 » Thu Feb 25, 2016 5:07 pm

This is very strange.

I made the User Group's parent Public as you suggested. After doing so, before disabling any of the other components from view, I logged in using that Users login information.

There's no menus showing - even though under Global Configuration I haven't denied ANY of the components Access to Administration Panel.

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

Re: Limit User To One Component

Postby Webdongle » Thu Feb 25, 2016 5:12 pm

@AlexVega
Close but not quite accurate

sudo-web wrote:I don’t believe in one fits all solutions, so it depend on your situation. The easiest way would be to make the Public group the parent group and only activate what you need.
Yep although my preference is Registered as Parent.

This is a step by step
  1. Create a User Group with Registered as Parent
  2. In Users >>> View/Access levels >>> Special ... select the user group
  3. In Global config Allow for Admin login everything else Inherited
  4. In Components >>> the component you want the access for >>> Permissions ... Allow 'Access Administration Interface' and any of the Create, Delete, Edit, Edit state you wish to allow.

N.B. step #2 because the Admin menu is view/access level 'Special'

Jay313
Joomla! Apprentice
Joomla! Apprentice
Posts: 47
Joined: Wed May 26, 2010 6:47 pm

Re: Limit User To One Component

Postby Jay313 » Thu Feb 25, 2016 5:33 pm

Ok so I followed your steps. I can now see the menu however the very component that I want the user to see doesn't show.

When I log back in as Administrator, and I go under the components permissions - I notice several of the Actions have "(not Allowed) Locked" indicated. I think that's my problem.

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

Re: Limit User To One Component

Postby Webdongle » Thu Feb 25, 2016 5:43 pm

Jay313 wrote:Ok so I followed your steps. I can now see the menu however the very component that I want the user to see doesn't show....

If you followed those steps then it would show

Jay313 wrote:...
When I log back in as Administrator, and I go under the components permissions - I notice several of the Actions have "(not Allowed) Locked" indicated. I think that's my problem.
Global Config >>> Permissions should be 'Inherited' not 'Denied'

Jay313
Joomla! Apprentice
Joomla! Apprentice
Posts: 47
Joined: Wed May 26, 2010 6:47 pm

Re: Limit User To One Component

Postby Jay313 » Thu Feb 25, 2016 8:06 pm

I fixed the issue. I had conflicting Actions between User Groups for the component in question. Once i cleared that up, I was able to see the component, and only that compoenet, when I signed as the User.

Thanks

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

Re: Limit User To One Component

Postby Webdongle » Thu Feb 25, 2016 8:41 pm

Best not have users in more than one user group ... it avoids confusion

Jay313
Joomla! Apprentice
Joomla! Apprentice
Posts: 47
Joined: Wed May 26, 2010 6:47 pm

Re: Limit User To One Component

Postby Jay313 » Thu Feb 25, 2016 8:43 pm

Gotcha!

User avatar
c a g a t a y
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 184
Joined: Sat Jan 07, 2006 7:58 pm
Location: Turan Land

Re: Limit User To One Component

Postby c a g a t a y » Mon Apr 17, 2017 11:38 am

AlexVega wrote:Hi there,

- Go to System > Global Configuration here you have the components list,



Hi Alex
Tehere is no my real estate companent (that i want to allow just only one user group) in the Global Configuration List

What i mean is that: I have a 1 user group with 2 members. And I want to do that; This group JUST ONLY ACCESS to THIS REAL ESTATE COMPONENT

I could solve this issue

Best Regards

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

Re: Limit User To One Component

Postby Webdongle » Mon Apr 17, 2017 12:48 pm

Users >>> Manage >>> User Groups ... your new User Group ... make sure Registered is Parent.

Users >>> Manage >>> View/Access level >>> in the view level(s) you want that Group to see ... Select that User Group

Global Config >>> Permissions for that User Group ... Allow Admin login but leave everything else Inherited

Components >>> the component you want to give access to >>> Options ... Permissions for that group


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

Who is online

Users browsing this forum: No registered users and 2 guests