Mercurial > kallithea
annotate rhodecode/tests/models/test_user_permissions_on_repos.py @ 3094:b70c6652a0d4 beta
fixed issue #644 When a user is both in read and write group, the permission taken in account is the last saved permission
- added configurable parameters to permission class with two algorithms, higherwin and lowerwin.
- default is set now to higherwin, later we'll make that configurable
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Wed, 12 Dec 2012 23:17:10 +0100 |
parents | |
children | 68f9c216377d |
rev | line source |
---|---|
3094
b70c6652a0d4
fixed issue #644 When a user is both in read and write group, the permission taken in account is the last saved permission
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
1 #TODO; write tests when we activate algo for permissions. |