This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use Stack Overflow.

Admins and Users

Questions relating to sfGuardPlugin or other user management plugins

Admins and Users

by alistair » Wed Feb 08, 2012 11:39 am

I tried before but got no response so here goes again.

I need some help to extend sfDoctrineGuardPlugin. I have the concept of an Admin between Super Admin and Users.

In this scenario I have companies who have accounts in our system and these companies have an administrator who can manage their account. So rather than having global Super Admin status I want them only to be able add and manage Users on their account.

So I and the sys admins can do everything, an account administrator can manage selected features on their account and users can view and access basic features.

I have banged my head against the wall over this for some time and got nowhere so any pointers would be very welcome,
Symfony 1.4.9
Ubuntu 9.04, PHP5.2
alistair
Member
 
Posts: 30
Joined: Mon Jan 03, 2011 3:30 pm
Location: UK

Re: Admins and Users

by alistair » Thu Feb 09, 2012 6:49 pm

Has no one any idea how to do this?

Using generator.yml and security.yml my customer admin can only do what I allow but they can do it globally rather than to records (Users and Account Data) associated with their account.

This is the hierarchy I have;

Code: Select all
Global
 |
Customer _____
 |            |
User        Account Data
Symfony 1.4.9
Ubuntu 9.04, PHP5.2
alistair
Member
 
Posts: 30
Joined: Mon Jan 03, 2011 3:30 pm
Location: UK