I solved it by setting the ACL directly while login in:
data.setACL(TurbineSecurity.getACL(user));
Thorsten
Am Di, den 12.10.2004 schrieb Thorsten Schilling um 15:54:
> Hi,
>
> another Question:
> I have a loginaction which sets the user in data. In my template i can
> ask for the username ($data.getUser().getName()) and display it. But if
> I try to ask for a permission, for example
> $data.getACL().hasPermission("admin_users") I get a
> java.lang.NullPointerException .
> After a reload of the Page there's everything ok and i can access the
> ACL as usual.
> Is there any possibility to "update" the ACL directly in data after the
> Login (data.setUser(user))?
>
> Regards
> Thorsten
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]