Forum Moderators: coopster

Message Too Old, No Replies

PEAR Auth access Levels

different access levels with PEAR Auth

         

Tommybs

11:10 pm on Aug 31, 2007 (gmt 0)

10+ Year Member



Hi,

I've been experimenting with PEAR Auth package and I've managed to successfully set it up. I've searched on here and in various places to see if it is possible to setup different access levels for different users. Does anyone know of a way to do this?

Is it as simple as getting the auth class to return all the values from my user table with different access levels set in the table itself or would a better solution be to create another instance of Auth (although I don't want 2 seperate logon forms) to create a seperate higher level access session?

Suggestions please?

Many Thanks

coopster

3:52 pm on Sep 5, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



I haven't used the PEAR Auth class to do so but a quick search on the PEAR site shows Auth_PrefManager [pear.php.net] which may or may not work for you -- you'll have to be the judge.