Merge lp:~zyga/django-restricted-resource/fix-is-owned-by-for-group-owners into lp:django-restricted-resource
Proposed by
Zygmunt Krynicki
Status: | Merged |
---|---|
Merged at revision: | 22 |
Proposed branch: | lp:~zyga/django-restricted-resource/fix-is-owned-by-for-group-owners |
Merge into: | lp:django-restricted-resource |
Diff against target: |
53 lines (+28/-3) 2 files modified
django_restricted_resource/models.py (+15/-3) django_restricted_resource/tests.py (+13/-0) |
To merge this branch: | bzr merge lp:~zyga/django-restricted-resource/fix-is-owned-by-for-group-owners |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Paul Larson (community) | Approve | ||
Michael Hudson-Doyle (community) | Approve | ||
Linaro Infrastructure | Pending | ||
Review via email: mp+74841@code.launchpad.net |
Description of the change
Fix resource.
To post a comment you must log in.
Looks fine, but I find the comments a little confusing.
+ # If the principal is an User then this object is owned by that user or
+ # the group the user belongs to.
I think if this was phrased as a question it would be more clear: "is this object owned by that user or a group that the user belongs to?" Similarly for the next comment down.