CodeIgniter Forums
ask suggestion for ACL problem [using redux auth & khacl] - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: ask suggestion for ACL problem [using redux auth & khacl] (/thread-13680.html)



ask suggestion for ACL problem [using redux auth & khacl] - El Forum - 12-02-2008

[eluser]wolfbuda[/eluser]
I there,

I'm using CI and I'm loving it!

For authentication I'm using redux and for ACL I'm using khacl and I think that they are working Ok. The reason that I create this tread it is for design question:
*Suppose, for example, the controller 'persons' with the follow methods: browse, view, edit and remove.
*Suppose that determined user only have access to limited person list.

1-How I should (what do you recommend) implement the ACL? Should I create an AXO for each person? Should I trigger (insert and remove) the table person to sync the table axo? I'm a little confused, it's the first time that I need to implement something like that.
2- And for browse functionality? Should the Model filter, in query database, the list of persons that the user can see, or should the controller filter the model result list?

Any help would be appreciated.
wolfbuda aka mocas