Gossamer Forum
Home : Products : DBMan : Installation :

Re: Adding more roles

Quote Reply
Re: Adding more roles In reply to
You'll have to edit auth.pl and make sure that auth_check_passwd returns the authority type as well. Then in db.cgi change:

($status, $uid, $per_view, $per_add, $per_del, $per_mod, $per_admin)
= &auth_check_password; # Authenticate User, get permissions and userid.

to:

($status, $uid, $per_view, $per_add, $per_del, $per_mod, $per_admin, $per_authtype)
= &auth_check_password; # Authenticate User, get permissions and userid.

Now you can use it in the html.pl.

Hope this helps!

Alex
Subject Author Views Date
Thread Adding more roles Jaime Ortega 3396 Nov 25, 1998, 1:15 AM
Post Re: Adding more roles
Alex 3213 Nov 30, 1998, 8:26 AM
Post Re: Adding more roles
Jaime Ortega 3221 Dec 2, 1998, 12:10 AM