Changes between Version 10 and Version 11 of BluePrintAuthorizationB
- Timestamp:
- 06/20/10 14:40:54 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BluePrintAuthorizationB
v10 v11 59 59 - the ''msg'' argument is optional 60 60 === Module/Controller Access === 61 62 - access can be restricted inside the controllers using: 63 - '''shn_has_role(role_name)''' which refers to the current user 61 {{{ 62 if shn_has_role("Facility Admin"): 63 ... 64 }}} 65 - ''shn_has_role()'' refers to the current user 66 - returns always True for sysadmins (auth_group 1) 64 67 - shn_has_role() tests can be combined by '''and''', '''or''' and '''not''' 65 66 68 === Table/Record Access === 67 69