# HG changeset patch # User Marcin Kuzminski # Date 2013-01-24 11:09:55 # Node ID f5c5095c702896d1fa668976b334018eae13d989 # Parent 81bbb8086f034cb8cf167aa3e9f91a8999ebcaff fix private flag switching default permission diff --git a/rhodecode/model/validators.py b/rhodecode/model/validators.py --- a/rhodecode/model/validators.py +++ b/rhodecode/model/validators.py @@ -533,7 +533,7 @@ def ValidPerms(type_='repo'): 'g': 'users_group' }[k[0]] if member == 'default': - if value.get('private'): + if value.get('repo_private'): # set none for default when updating to # private repo v = EMPTY_PERM