Sounds very reasonable! Besides me saying that the user may still have access because the role may if is not possible. Confusing...

Oliver

Tassos Bassoukos schrieb:

Ace denyUser = new Ace( "/slide/roles/user" );
denyUser.addPrivilege( Privilege.READ );
denyUser.setNegative( false );


Hi all,
I don't know much about permissions yet, but should'nt the last line be
  denyUser.setNegative( true );
?

At least that's what I've undestood from reading the source.

Cheers,
Tassos Bassoukos

---------------------------------------------------------------------
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]



Reply via email to