Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def create_user(self, context, users):
- LOG.debug("Creating user(s).")
- with EndNotification(context):
- return service.MongoDBAdmin().create_users(users)
- def create_master_user(self, context, users):
- LOG.debug("Creating msater_user(s).")
- with EndNotification(context):
- return service.MongoDBAdmin().create_users(users)
- def grant_access(self, context, username, hostname, databases):
- LOG.debug("Granting access.")
- return service.MongoDBAdmin().grant_access(username, databases)
- def grant_master_access(self, context, username, hostname, databases):
- LOG.debug("Granting access.")
- return service.MongoDBAdmin().grant_access(username, databases)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement