Changes between Version 14 and Version 15 of BluePrintAuthorizationB
- Timestamp:
- 06/20/10 15:16:00 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BluePrintAuthorizationB
v14 v15 66 66 - returns always True for sysadmins (auth_group 1) 67 67 - ''shn_has_role()'' tests can be combined by '''and''', '''or''' and '''not''' 68 68 69 === Table/Record Access === 70 71 - Table auth_table_permissions: tablename, method, role 72 - Table auth_record_permissions: tablename, method, record_id, role 69 73 70 74 {{{shn_permit(table, method, role, id=None)}}} … … 82 86 - table restrictions override record permissions 83 87 88 {{{ 89 def shn_permitted(table, method, id=None): 90 91 roles = session.s3.roles 92 }}} 93 84 94 ---- 85 95 BluePrints