Exemplo n.º 1
0
 def list_users(self,
                context,
                limit=None,
                marker=None,
                include_marker=False):
     LOG.debug("Listing users.")
     return service.CouchDBAdmin().list_users(limit, marker, include_marker)
Exemplo n.º 2
0
 def delete_database(self, context, database):
     LOG.debug("Deleting database.")
     return service.CouchDBAdmin().delete_database(database)
Exemplo n.º 3
0
 def create_database(self, context, databases):
     LOG.debug("Creating database(s).")
     return service.CouchDBAdmin().create_database(databases)
Exemplo n.º 4
0
 def is_root_enabled(self, context):
     LOG.debug("Checking if root is enabled.")
     return service.CouchDBAdmin().is_root_enabled()
Exemplo n.º 5
0
 def enable_root_with_password(self, context, root_password=None):
     return service.CouchDBAdmin().enable_root(root_pwd=root_password)
Exemplo n.º 6
0
 def enable_root(self, context):
     LOG.debug("Enabling root.")
     return service.CouchDBAdmin().enable_root()
Exemplo n.º 7
0
 def list_access(self, context, username, hostname):
     LOG.debug("Listing access.")
     return service.CouchDBAdmin().list_access(username, hostname)
Exemplo n.º 8
0
 def revoke_access(self, context, username, hostname, database):
     LOG.debug("Revoking access.")
     return service.CouchDBAdmin().revoke_access(username, database)
Exemplo n.º 9
0
 def grant_access(self, context, username, hostname, databases):
     LOG.debug("Granting access.")
     return service.CouchDBAdmin().grant_access(username, databases)
Exemplo n.º 10
0
 def get_user(self, context, username, hostname):
     LOG.debug("Show details of user %s.", username)
     return service.CouchDBAdmin().get_user(username, hostname)
Exemplo n.º 11
0
 def delete_user(self, context, user):
     LOG.debug("Deleting user.")
     return service.CouchDBAdmin().delete_user(user)
Exemplo n.º 12
0
 def create_user(self, context, users):
     LOG.debug("Creating user(s).")
     return service.CouchDBAdmin().create_user(users)