Changeset 84af6d7
- Timestamp:
- Jan 27, 2012, 4:40:42 PM (14 years ago)
- Branches:
- master, space-access, stable, stage
- Children:
- 7654a6d
- Parents:
- 7f2776e
- git-author:
- Alex Dehnert <adehnert@…> (01/27/12 16:40:42)
- git-committer:
- Alex Dehnert <adehnert@…> (01/27/12 16:40:42)
- File:
-
- 1 edited
-
asadb/groups/models.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
asadb/groups/models.py
rfb1c047 r84af6d7 350 350 return False 351 351 if isinstance(obj, Group): 352 # Having the unqualified perm means that you should have it 353 # on any object 354 if user_obj.has_perm(perm): 355 return True 352 356 # Now we can do the real work 353 357 holders = obj.officers(person=user_obj.username).select_related('role__grant_user')
Note: See TracChangeset
for help on using the changeset viewer.