Welcome Guest, Not a member yet? Register   Sign In
ask suggestion for ACL problem [using redux auth & khacl]
#1

[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




Theme © iAndrew 2016 - Forum software by © MyBB