newb Posted August 9, 2006 Share Posted August 9, 2006 k im working on a cms and im not sure how i do usergroups like admin, moderator, member, guest, etc. how would i go about doing it? do i absolutely HAVE TO use/learn bitwise in order to do it, or can i do it through just mysql and php? :s Quote Link to comment Share on other sites More sharing options...
newb Posted August 10, 2006 Author Share Posted August 10, 2006 bump Quote Link to comment Share on other sites More sharing options...
hitman6003 Posted August 10, 2006 Share Posted August 10, 2006 There is an open source class, phpgacl, that does what you want very well. http://phpgacl.sourceforge.net/GALs, or Generic Access Lists, are a very confusing topic to describe, however, the manual for phpgacl does an outstanding job. Even if you don't use the class, I highly recommend reading about GALs in their manual for a better understanding.They even use the Star Wars characters in the examples, which makes it amusing to read if nothing else.A system very similar to phpgacl is used by Joomla and Drupal for their user control. Quote Link to comment Share on other sites More sharing options...
newb Posted August 10, 2006 Author Share Posted August 10, 2006 i c Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.