summaryrefslogtreecommitdiff
path: root/common/src/leap/soledad/common/couch.py
diff options
context:
space:
mode:
Diffstat (limited to 'common/src/leap/soledad/common/couch.py')
-rw-r--r--common/src/leap/soledad/common/couch.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/src/leap/soledad/common/couch.py b/common/src/leap/soledad/common/couch.py
index a801a044..c2809a47 100644
--- a/common/src/leap/soledad/common/couch.py
+++ b/common/src/leap/soledad/common/couch.py
@@ -488,7 +488,8 @@ class CouchDatabase(CommonBackend):
security_config = security_config or {}
security = self._database.resource.get_json('_security')[2]
security['members'] = {'names': [], 'roles': []}
- security['members']['names'] = security_config.get('members', ['soledad'])
+ security['members']['names'] = security_config.get('members',
+ ['soledad'])
security['members']['roles'] = security_config.get('members_roles', [])
security['admins'] = {'names': [], 'roles': []}
security['admins']['names'] = security_config.get('admins', [])