Page 1 of 1

Limit User To One Component

Posted: Thu Feb 25, 2016 2:18 am
by Jay313
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

Re: Limit User To One Component

Posted: Thu Feb 25, 2016 9:03 am
by sudo-web
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.

Re: Limit User To One Component

Posted: Thu Feb 25, 2016 9:12 am
by AlexVega
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!

Re: Limit User To One Component

Posted: Thu Feb 25, 2016 4:29 pm
by Jay313
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?

Re: Limit User To One Component

Posted: Thu Feb 25, 2016 4:36 pm
by sudo-web
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.

Re: Limit User To One Component

Posted: Thu Feb 25, 2016 5:07 pm
by Jay313
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.

Re: Limit User To One Component

Posted: Thu Feb 25, 2016 5:12 pm
by Webdongle
@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'

Re: Limit User To One Component

Posted: Thu Feb 25, 2016 5:33 pm
by Jay313
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.

Re: Limit User To One Component

Posted: Thu Feb 25, 2016 5:43 pm
by Webdongle
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'

Re: Limit User To One Component

Posted: Thu Feb 25, 2016 8:06 pm
by Jay313
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

Re: Limit User To One Component

Posted: Thu Feb 25, 2016 8:41 pm
by Webdongle
Best not have users in more than one user group ... it avoids confusion

Re: Limit User To One Component

Posted: Thu Feb 25, 2016 8:43 pm
by Jay313
Gotcha!

Re: Limit User To One Component

Posted: Mon Apr 17, 2017 11:38 am
by c a g a t a y
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

Re: Limit User To One Component

Posted: Mon Apr 17, 2017 12:48 pm
by Webdongle
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