This topic is locked

How to create a group adminstrator

11/11/2009 7:00:20 AM
PHPRunner General questions
M
mmponline author

I have a specific need as displayed in this placed on the topic:

http://www.asprunner.com/forums/topic/12934-phprunner-52asprunner-62/pagest30

by chrisrianto:

how about group access control where each group administrator can change the access control of people below them but cannot see the page of the other groups and cannot change their permission. Each page have the option which group can see the screen (can be more than one).


Do anyone have ideas on how this can be achieved?

Sergey Kornilov admin 11/11/2009

PHPRunner doesn't support this kind of functionality. The only solution is to code it manually from scratch.

M
mmponline author 11/12/2009

Thanks for your reply. Maybe something like this will do the job. I'm just not sure how to implement it.
If the login table has a admin field with a yes no. When it is yes, the logged in user then has access to all fields of the group he belongs to.

This will have to be some event on log in.
Thus;

Username Password Admin Group etc.

Peter Pan No ABC - Will have access to see all records in the group, edit own only.

Goldy Locks Yes ABC - Will see and edit all records of the group.
Event (in laymans terms) on login:

If Admin= Yes for the group of the owner, show and edit all records added by the group.

Maybe a custom view of the table (DocumentAdmin) or something will have to be added for the administrator of the group.
Hope this will stimulate some ideas.