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_ |
|
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