Changes between Version 84 and Version 85 of BluePrintAuthorization
- Timestamp:
- 06/22/10 15:09:58 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BluePrintAuthorization
v84 v85 100 100 {{{ 101 101 def myfunction(): 102 shn_has_role = auth.shn_has_role 102 103 if not shn_has_role(1) or (shn_has_role("BadRole1") and shn_has_role("BadRole2")) and not shn_has_role("GoodRole"): 103 104 # redirect out