Changes between Version 79 and Version 80 of BluePrintAuthorization
- Timestamp:
- 06/22/10 14:41:29 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BluePrintAuthorization
v79 v80 78 78 def myfunction(): 79 79 roles = session.s3.roles 80 if not 1 in roles or ( 2 in roles and 3 in roles) and not 4in roles:80 if not 1 in roles or (deployment_settings.auth.roles["BadRole1"] in roles and deployment_settings.auth.roles["BadRole2"] in roles) and not deployment_settings.auth.roles["GoodRole"] in roles: 81 81 # redirect out 82 82 ...