Changes between Version 13 and Version 14 of BluePrintAuthorizationB
- Timestamp:
- 06/20/10 15:03:13 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BluePrintAuthorizationB
v13 v14 67 67 - ''shn_has_role()'' tests can be combined by '''and''', '''or''' and '''not''' 68 68 === Table/Record Access === 69 69 70 {{{shn_permit(table, method, role, id=None)}}} 70 71 - adds ''role'' to the list of permitted roles for ''method'' on ''table'' (record ''id'' of the table) … … 76 77 {{{shn_permitted(table, method, id=None)}}} 77 78 - returns True/False refering to the current user 79 - returns always True for sysadmins (auth_group 1) 78 80 79 81 - record restrictions override table permissions