diff --git a/cps/web.py b/cps/web.py index 22a651b783..70e22fd673 100755 --- a/cps/web.py +++ b/cps/web.py @@ -1426,7 +1426,7 @@ def create_user(username): group_data = services.ldap.get_object_details(user=username, query_filter=admin_group_filter) if group_data: log.debug(u"LDAP admin group is found: '{}'".format(group_data)) - role = constants.ROLE_ADMIN + role = constants.ROLE_ADMIN | constants.ROLE_DELETE_BOOKS | constants.ROLE_DOWNLOAD | constants.ROLE_UPLOAD | constants.ROLE_EDIT | constants.ROLE_EDIT_SHELFS | constants.ROLE_VIEWER else: log.debug(u"LDAP admin group is not found")