From ec2103a3d0fbfba75fd7c8dab4b5c7fd9c6aa8e9 Mon Sep 17 00:00:00 2001 From: Elifcan Cakmak Date: Wed, 20 Mar 2019 15:06:11 +0300 Subject: [PATCH] fixed a bug that affects allowing password change for users (#854) --- cps/web.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cps/web.py b/cps/web.py index d59b6ba8..75bb459a 100644 --- a/cps/web.py +++ b/cps/web.py @@ -2843,7 +2843,7 @@ def view_configuration(): content.config_default_role = content.config_default_role + ub.ROLE_DELETE_BOOKS if "passwd_role" in to_save: content.config_default_role = content.config_default_role + ub.ROLE_PASSWD - if "passwd_role" in to_save: + if "edit_shelf_role" in to_save: content.config_default_role = content.config_default_role + ub.ROLE_EDIT_SHELFS content.config_default_show = 0 if "show_detail_random" in to_save: