##// END OF EJS Templates
caches: clear perms cache manager while updating settings for auth plugins
marcink -
r2169:94d9c7f1 default
parent child Browse files
Show More
@@ -27,7 +27,7 b' from pyramid.renderers import render'
27 27 from pyramid.response import Response
28 28
29 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 31 from rhodecode.lib import auth
32 32 from rhodecode.lib.auth import LoginRequired, HasPermissionAllDecorator
33 33 from rhodecode.model.forms import AuthSettingsForm
@@ -168,6 +168,10 b' class AuthSettingsView(object):'
168 168
169 169 cache_manager = get_auth_cache_manager()
170 170 cache_manager.clear()
171
172 cache_manager = get_perms_cache_manager()
173 cache_manager.clear()
174
171 175 self.request.session.flash(
172 176 _('Auth settings updated successfully.'),
173 177 queue='success')
General Comments 0
You need to be logged in to leave comments. Login now