hi,
I have solved my problem. I desfribe my solution in case it helps. The matter
was that in other rule I had in my security.drl (and that I did not post to my
message) I had a syntax error.
With that error the rule I described before does not work, and once the syntax
is correct, both rules
I just tested the default page security and can confirm that it does indeed
work ok. I suggest you set a breakpoint in RuleBasedIdentity.hasPermission()
to check that your permission check is actually being performed, and that your
role is actually set in the working memory.
View the original