Hi.  See below.

On Sat, 25 May 2002 [EMAIL PROTECTED] wrote:

> data.setACL(TurbineSecurity.getService().getACL(data.getUser()));
>
> or
>
> AccessControlList acl =
> (AccessControlList)data.getSession().getAttribute(AccessControlList.SESSION_KEY);
>
> data.setACL(acl);
>
> The first one effects the velocity templates, but not in our java classes. So we
> can use the new permissions from velocity but not from the classes (until
> relogin).

Are you sure?  I believe you can also use the first statement in your java
action/screen classes.  Your second one just gets the acl from the session
and then load it back into the session (if I remember correctly), so
you're not achieving anything.

Dan


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to