This content has been marked as final.
Show 1 reply
-
1. Re: acl in seam
jacenko13 Mar 9, 2010 11:31 AM (in response to jacenko13)It's work!
Explain:
security.drl work's with database tooNeed: UserAccount, UserRole, UserPermission (from seam-2.2 seam-gen)
Annotate method:
@Restrict({s:hasPermission('Course','create')}
)Record in database
action - create
discriminator - user
recipeint - for example admin
target - Entity class for example Courseand this is it.