Changes between Version 14 and Version 15 of BluePrintAuthorizationB


Ignore:
Timestamp:
06/20/10 15:16:00 (14 years ago)
Author:
Dominic König
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BluePrintAuthorizationB

    v14 v15  
    6666  - returns always True for sysadmins (auth_group 1)
    6767  - ''shn_has_role()'' tests can be combined by '''and''', '''or''' and '''not'''
     68
    6869=== Table/Record Access ===
     70
     71  - Table auth_table_permissions: tablename, method, role
     72  - Table auth_record_permissions: tablename, method, record_id, role
    6973
    7074{{{shn_permit(table, method, role, id=None)}}}
     
    8286  - table restrictions override record permissions
    8387
     88{{{
     89def shn_permitted(table, method, id=None):
     90
     91  roles = session.s3.roles
     92}}}
     93
    8494----
    8595BluePrints