~linaro-validation/django-restricted-resource/trunk

  • Committer: Zygmunt Krynicki
  • Date: 2011-09-09 17:35:52 UTC
  • Revision ID: zygmunt.krynicki@linaro.org-20110909173552-xere6gdoto5bgec1
Fix RestrictedResource.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.
Filename Latest Rev Last Changed Committer Comment Size
..
test_project 19 12 years ago Zygmunt Krynicki Adapt to django-testscenarios 0.6 Diff
__init__.py 21 12 years ago Zygmunt Krynicki Bump version to 0.2.6, use versiontools 812 bytes Diff Download File
managers.py 2.2.11 13 years ago Zygmunt Krynicki Make RestrictedResourceManager.owned_by(principal) 4 KB Diff Download File
models.py 22 12 years ago Zygmunt Krynicki Fix RestrictedResource.is_owned_by for group owner 7.1 KB Diff Download File
test_utils.py 19 12 years ago Zygmunt Krynicki Adapt to django-testscenarios 0.6 5.6 KB Diff Download File
tests.py 22 12 years ago Zygmunt Krynicki Fix RestrictedResource.is_owned_by for group owner 16.6 KB Diff Download File
utils.py 2.1.7 13 years ago Zygmunt Krynicki Add license file and fix/add license headers to al 1.1 KB Diff Download File