~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
..
__init__.py 2.1.2 13 years ago Zygmunt Krynicki Integrate test infrastructure with setup.py 775 bytes Diff Download File
File manage.py 10 13 years ago Zygmunt Krynicki Change shebang to /usr/bin/env python to work with 1.5 KB Diff Download File
settings.py 14 13 years ago Zygmunt Krynicki Release micro upgrade to support django-testscenar 1 KB Diff Download File
tests.py 19 13 years ago Zygmunt Krynicki Adapt to django-testscenarios 0.6 975 bytes Diff Download File