##// END OF EJS Templates
fixed default permissions bug.
marcink -
r664:50d9b1af beta
parent child Browse files
Show More
@@ -143,7 +143,7 b' class PermissionsController(BaseControll'
143
143
144 if id == 'default':
144 if id == 'default':
145 defaults = {'_method':'put'}
145 defaults = {'_method':'put'}
146 for p in UserModel().get_default().user_perms:
146 for p in UserModel().get_by_username('default').user_perms:
147 if p.permission.permission_name.startswith('repository.'):
147 if p.permission.permission_name.startswith('repository.'):
148 defaults['default_perm'] = p.permission.permission_name
148 defaults['default_perm'] = p.permission.permission_name
149
149
General Comments 0
You need to be logged in to leave comments. Login now