Re: LiveUser - Update rights and groups in session

From: Date: Thu, 17 Jun 2004 11:27:12 +0000
Subject: Re: LiveUser - Update rights and groups in session
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-13201@lists.php.net to get a copy of this message
Hallo Lukas, Lukas Smith wrote: > Markus Tacker wrote: > > if a user's rights/groups change while he is logged in > > (by his own action) how do I update the perm array in > > the session? > We currently dont have any feature for this. However you > can disable the rights caching with the current CVS > version using the new 'cache_perm' option (which defaults > to true). > > If you use the simple or medium container then disabling > the cache is not likely to downgrade performance > considerably. Well, I use DB_Complex. Can't be that hard to write a mthod which rereads all his rights, can it? I'll try. -- mit freundlichen Grüßen ------------------------------------------------------------ IT Future AG Markus Tacker Bockenheimer Ldstr. 45 Mediengestalter 60325 Frankfurt / Main ----------------------------- E-Mail: mtacker@itfuture.de Telefon: 069 - 719163 0 Jabber: m@tacker.org Telefax: 069 - 719163 13 ICQ: 9170 9561 ------------------------------------------------------------

« previous php.pear.general (#13201) next »