Changes between Version 36 and Version 37 of BluePrintAuthorization
- Timestamp:
- 06/19/10 17:33:29 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BluePrintAuthorization
v36 v37 142 142 # Assume we generally have fewer restrictions than roles 143 143 # for restriction in restrictions: 144 # if restriction in roles: 144 # if restriction == "0" or int(restriction) in roles: 145 # restriction 0 is anonymous 145 146 # authorised = True 146 147 #else: … … 159 160 # Assume we generally have fewer restrictions than roles 160 161 for restriction in restrictions: 161 if restriction in roles: 162 if restriction == "0" or int(restriction) in roles: 163 # restriction 0 is anonymous 162 164 authorised = True 163 165 … … 198 200 # Assume we generally have fewer restrictions than roles 199 201 for restriction in restrictions: 200 if restriction in roles: 202 if restriction == "0" or int(restriction) in roles: 203 # restriction 0 is anonymous 201 204 authorised = True 202 205