Re: liveUser: changing permissions for active sessions
| From: | Markus Wolff | Date: | Mon, 19 Aug 2002 16:22:15 +0000 |
| Subject: | Re: liveUser: changing permissions for active sessions | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-8512@lists.php.net to get a copy of this message | ||
On Mon, 19 Aug 2002 17:38:11 +0200
Bertrand Mansion <bmansion@mamasam.com> wrote:
> <smith@dybnet.de> wrote :
>
> > Hi,
> >
> > I want to avoid the following scenario:
> > User asks the content manager with sufficient rights to give him access
> > to a certain part of the CMS.
> > The content manager quickly gives the user the right and informs the
> > user. The user still has a browser open, but still cannot use the right.
> > He calls the content manager, who then checks again and again and again.
> >
> > The real problem is that liveUser currently does not have a mechanism to
> > change the permissions of active sessions, since the permissions of each
> > user are stored in a session.
>
> Maybe it's better not to store permissions in the session then ?
In that case, you´d need some complex database queries on every page
request. I can already smell my server´s CPU burning :-)
Regards,
Markus
--
Markus Wolff <wolff@21st.de>