Show More
@@ -27,7 +27,7 b' from pyramid.renderers import render' | |||||
27 | from pyramid.response import Response |
|
27 | from pyramid.response import Response | |
28 |
|
28 | |||
29 | from rhodecode.authentication.base import ( |
|
29 | from rhodecode.authentication.base import ( | |
30 | get_auth_cache_manager, get_authn_registry) |
|
30 | get_auth_cache_manager, get_perms_cache_manager, get_authn_registry) | |
31 | from rhodecode.lib import auth |
|
31 | from rhodecode.lib import auth | |
32 | from rhodecode.lib.auth import LoginRequired, HasPermissionAllDecorator |
|
32 | from rhodecode.lib.auth import LoginRequired, HasPermissionAllDecorator | |
33 | from rhodecode.model.forms import AuthSettingsForm |
|
33 | from rhodecode.model.forms import AuthSettingsForm | |
@@ -168,6 +168,10 b' class AuthSettingsView(object):' | |||||
168 |
|
168 | |||
169 | cache_manager = get_auth_cache_manager() |
|
169 | cache_manager = get_auth_cache_manager() | |
170 | cache_manager.clear() |
|
170 | cache_manager.clear() | |
|
171 | ||||
|
172 | cache_manager = get_perms_cache_manager() | |||
|
173 | cache_manager.clear() | |||
|
174 | ||||
171 | self.request.session.flash( |
|
175 | self.request.session.flash( | |
172 | _('Auth settings updated successfully.'), |
|
176 | _('Auth settings updated successfully.'), | |
173 | queue='success') |
|
177 | queue='success') |
General Comments 0
You need to be logged in to leave comments.
Login now