[Solved] Groups & Permissions Questions
Posted: Thu May 07, 2009 8:53 am
Hello,
First of all, please do not pay attention to my poor english...
Thank you for this application It work like a charm, and the documentation is really useful.
I still have a few questions regarding users permissions.
I've searched the forum, but I didn't find what I'm looking for.
I need 3 levels of permissions, and i've got trouble whith the third.
1- Admin : all access to everything
2- Users : all Access to their own records
3- Super Users : read access to the record of some of the users (but not all)
For exemple :
Super user 1 : access to the records of Users A, B D
Super User 2 : access to the records of Users C, E,F
I'm afraid that what I would really need is not a "belong to" relationship, like we do with an "owner_id" on each table, but a "many to many" relationship, and I don't know how I could do that whith the setSecurityFilter.
Or maybe am I completely wrong, and there's a much more simple way to do it ?
Can you give me a hint ?
First of all, please do not pay attention to my poor english...
Thank you for this application It work like a charm, and the documentation is really useful.
I still have a few questions regarding users permissions.
I've searched the forum, but I didn't find what I'm looking for.
I need 3 levels of permissions, and i've got trouble whith the third.
1- Admin : all access to everything
2- Users : all Access to their own records
3- Super Users : read access to the record of some of the users (but not all)
For exemple :
Super user 1 : access to the records of Users A, B D
Super User 2 : access to the records of Users C, E,F
I'm afraid that what I would really need is not a "belong to" relationship, like we do with an "owner_id" on each table, but a "many to many" relationship, and I don't know how I could do that whith the setSecurityFilter.
Or maybe am I completely wrong, and there's a much more simple way to do it ?
Can you give me a hint ?