This content has been marked as final.
Show 3 replies
-
1. Re: Custom Identity
ssamayoagt Mar 1, 2010 7:47 PM (in response to ramansheshadri)Check in SEAM's 2.0 for JpaPermissionStore(), Identity.hasPermission(), Identity.hasRole(), those doesnt use drools.
Im not sure if they appeared in such version or later.
Regards. -
2. Re: Custom Identity
ramansheshadri Mar 2, 2010 2:50 PM (in response to ramansheshadri)seams's Identity.hasPermission() are with parameters and these parameters are like action , name which internally checks at security rules. This way we can't achieve since it involves rules.
-
3. Re: Custom Identity
ssamayoagt Mar 2, 2010 6:32 PM (in response to ramansheshadri)I dont understand what you want.
What you describe in your post is a simple user / role / permission scneario.
What you mean with "This way we can't achieve since it involves rules"?
After all you have some sort of rules to follow to acomplish what you want.
Show/hide a "delete button" should be as simple as:
rendered="#{s:hasPermission('customer','delete')}"
So?