This content has been marked as final.
Show 1 reply
-
1. Re: Access to the GateIn permission system in a portlet.
hoang_to Nov 11, 2010 6:16 AM (in response to funkybreizh)The authorization in GateIn is based on group/membership. In your case, you could define a 'Hospital' group and set respectively 'doctor_membership', 'nurse_membership' memberships on doctors, nurse. The UserACL provides method hasPermission(String permissionExpression) that allows you to check access/edit permission for 'Hospital' 's member