Welcome Guest, Not a member yet? Register   Sign In
My "official" ACL plugin for CI - Now with [some] documentation
#11

[eluser]bkirkman[/eluser]
I've been familiarizing myself with the plug-in as I incorporate it into a project. Would it be possible/beneficial to pass an array of role_ids to user_has_role() and group_has_role() instead of just a single role_id? I'm guessing many times in a project, access would be given based on a handful of roles. (Of course we could just use OR statements.) I'm also guessing a hierarchy or ranking of roles is often used for ACLs. There also might be other class methods where passing an array to it might be beneficial. Just a couple of thoughts.


Messages In This Thread
My "official" ACL plugin for CI - Now with [some] documentation - by El Forum - 02-26-2010, 05:41 PM



Theme © iAndrew 2016 - Forum software by © MyBB