lp:~zyga/django-restricted-resource/fix-is-owned-by-for-group-owners
Created by
Zygmunt Krynicki
and last modified
- Get this branch:
- bzr branch lp:~zyga/django-restricted-resource/fix-is-owned-by-for-group-owners
Only
Zygmunt Krynicki
can upload to this branch. If you are
Zygmunt Krynicki
please log in for upload directions.
Branch merges
Propose for merging
No branches
dependent on this one.
- Paul Larson (community): Approve
- Michael Hudson-Doyle (community): Approve
- Linaro Infrastructure: Pending requested
-
Diff: 53 lines (+28/-3)2 files modifieddjango_restricted_resource/models.py (+15/-3)
django_restricted_resource/tests.py (+13/-0)
Branch information
Recent revisions
- 21. By Zygmunt Krynicki
-
Fix RestrictedResou
rce.is_ owned_by for group owner and member accessing user Previusly a case where the accessing user was a member of an owning group was
not handled. Now a resource.is_owned_ by(user) returns true when user is a
member of resource.group. - 16. By Zygmunt Krynicki
-
Do not generate random users or groups that would break max_length constraint.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:django-restricted-resource