Jump to content

HELP! need advice/direction with setting up usergroups


newb

Recommended Posts

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
Link to comment
Share on other sites

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.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.