Changes between Version 10 and Version 11 of BluePrintAuthorizationB


Ignore:
Timestamp:
06/20/10 14:40:54 (14 years ago)
Author:
Dominic König
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BluePrintAuthorizationB

    v10 v11  
    5959  - the ''msg'' argument is optional
    6060=== 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{{{
     62if 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)
    6467  - shn_has_role() tests can be combined by '''and''', '''or''' and '''not'''
    65 
    6668=== Table/Record Access ===
    6769