[nycphp-talk] admin user/role management
Kenneth Downs
ken at secdat.com
Mon Oct 24 09:24:08 EDT 2005
If you are using a database-centric design, you can do something like this:
Table of groups (roles)
Table of modules
Table of tables
Xref groups to modules
Xref groups to tables
A group has default priveleges of ins, upd, del, sel. The "Xref groups to
modules" overrides group settings for a module. the "Xref groups to
tables" further overrides at the table level.
If you want to start off a little simpler, just to a table of roles and a
table of tables.
> It's time for me to change my admin section to more than yep/nay. Does
> anyone know of an example of a comprehensive roles-based admin system. I
> looked at the PEAR auth library, but didn't see anything.
>
> Cliff Hirsch
> _______________________________________________
> New York PHP Talk Mailing List
> AMP Technology
> Supporting Apache, MySQL and PHP
> http://lists.nyphp.org/mailman/listinfo/talk
> http://www.nyphp.org
--
Kenneth Downs
Secure Data Software
631-379-0010
ken at secdat.com
PO Box 708
East Setauket, NY 11733
More information about the talk
mailing list