Hi,
I have run the BRMS with seam, but I have problem with this rule:
rule aaaaaaaa
when
c: PermissionCheck(name=="ticket", action=="viewDetail")
p: Principal()
then
System.out.println("grant ticket: " + p);
c.grant();
end;
When I remove the p:Principal()
, all works good. But I thiks, where should be a principal object in working memory. So, why can I test this rule ?
Btw: the user is logged.
Thanks for response.
Mila