Jolle Carlestam Setting and getting permissions using knop_user
Nov 04, 2008; 17:20
Jolle Carlestam
Setting and getting permissions using knop_user
In the examples there's this snippet: if( $session_user -> groups >> 'admin');
$session_user -> setpermission( 'candelete');
/if;
I suspect that "groups" is supposed to be a field in the user table. But in my present setup the group assignments are in a separate table. Is knop_user prepared to deal with that? Or do I just have to move group info to a field in the user table?
HDB Jolle
############################################################# This message is sent to you because you are subscribed to the mailing list <knop@lists.montania.se>. To unsubscribe, E-mail to: <knop-off@lists.montania.se> Send administrative queries to <knop-request@lists.montania.se> List archive http://www.nabble.com/Knop-Framework-Discussion-f29076.html Project homepage http://montania.se/projects/knop/ Google Code has the latest downloads at http://code.google.com/p/knop/
Nov 04
Johan Solve Re: Setting and getting permissions using knop_user
Nov 04, 2008; 17:31
Johan Solve
Re: Setting and getting permissions using knop_user
Nov 04
Jolle Carlestam Re: Setting and getting permissions using knop_user
Nov 04, 2008; 17:36
Jolle Carlestam
Re: Setting and getting permissions using knop_user
Search
Lasso Programming
This site manages and broadcasts several email lists pertaining to Lasso Programming and technologies related and used by Lasso developers. Sign up today!