Well I had gone through the links which you guys had provided. Thanks.
But the issue for me to implement an ACL is that I am not sure what
all function should be used due to the lack of documentation. One of
the requirement is already discussed above. I think I was able to
implement it partially. What I did was to create three tables one
offices, groups and then users.I created parentNode() for group
binding it to the office model and in users binding every users to
group model. Now when I create a Group and select an office it is
correctly created in aros table. Same with the users too. I found a
script from cakebaker to list all controllers and save it as acos. Now
I have aros and acos setup. In my application a superadmin can add new
user, group and offices dynamically. This part i guess is already
solved, thanks to parentNode(). When the super admin takes the add
group page all the controllers with their actions are also displayed
in that page. Actions will be having checkboxes to enable or disable
that action to the user of that group. So my first doubt is
1) How is it possible to save a group and then its associated
permissions dynamically?
Then definitely the admin might have to delete a office or a group. In
such a case
2) How is it possible to delete all the office and its group and
remove the deleted group information from the users .
I hope I have made everything clear and hope to get a reply soon.
Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to