def deleteCapability(self, uid): capType = request.form['type'] capPerm = request.form['perm'] Log.debug("deleteCapability " + capType + "=" + capPerm + " for user with uid " + uid) return S3User.deleteCapability(uid, capType, capPerm, self.getAdminConnection())
def createSubuserKey(self, uid, subuser): Log.debug("create key for subuser " + subuser + " for user with uid " + uid) generate_key = request.form['generate_key'] secret_key = request.form['secret_key'] return S3User.createSubuserKey(uid, subuser, generate_key, secret_key, self.getAdminConnection())
def modifyUser(self, uid): Log.debug( "modify user with uid "+ uid) jsonform = request.form['json'] return S3User.modify(uid,jsonform,self.getAdminConnection())
def listUsers(self): Log.debug( "list users from rgw api") return S3User.list(self.getAdminConnection())
def createUser(self): Log.debug( "user creation") jsonform = request.form['json'] return S3User.create(jsonform,self.getAdminConnection())
def createSubuserKey(self, uid, subuser): Log.debug( "create key for subuser "+subuser+" for user with uid "+ uid) generate_key = request.form['generate_key'] secret_key = request.form['secret_key'] return S3User.createSubuserKey(uid, subuser, generate_key, secret_key, self.getAdminConnection())
def getUserBuckets(self, uid): Log.debug( "getBuckets for uid " + uid) jsonform = None return S3User.getBuckets(uid,jsonform,self.getAdminConnection())
def deleteSubuser(self, uid, subuser): Log.debug( "delete subuser "+subuser+" for user with uid "+ uid) return S3User.deleteSubuser(uid, subuser, self.getAdminConnection())
def getUserBuckets(self, uid): Log.debug("getBuckets for uid " + uid) jsonform = None return S3User.getBuckets(uid, jsonform, self.getAdminConnection())
def removeUser(self, uid): Log.debug( "remove user with uid "+ uid) return S3User.remove(uid,self.getAdminConnection())
def createSubuser(self, uid): Log.debug( "create subuser for user with uid "+ uid) jsonform = request.form['json'] return S3User.createSubuser(uid,jsonform,self.getAdminConnection())
def removeUserKey(self, uid, key): Log.debug("remove key for user with uid " + uid) return S3User.removeKey(key, self.getAdminConnection())
def createSubuser(self, uid): Log.debug("create subuser for user with uid " + uid) jsonform = request.form['json'] return S3User.createSubuser(uid, jsonform, self.getAdminConnection())
def removeUser(self, uid): Log.debug("remove user with uid " + uid) return S3User.remove(uid, self.getAdminConnection())
def getUser(self, uid): Log.debug("get user with uid " + uid) return S3User.view(uid, self.getAdminConnection())
def modifyUser(self, uid): Log.debug("modify user with uid " + uid) jsonform = request.form['json'] return S3User.modify(uid, jsonform, self.getAdminConnection())
def createUser(self): Log.debug("user creation") jsonform = request.form['json'] return S3User.create(jsonform, self.getAdminConnection())
def listUsers(self): Log.debug("list users from rgw api") return S3User.list(self.getAdminConnection())
def removeUserKey(self, uid, key): Log.debug( "remove key for user with uid "+ uid) return S3User.removeKey(key,self.getAdminConnection())
def deleteSubuser(self, uid, subuser): Log.debug("delete subuser " + subuser + " for user with uid " + uid) return S3User.deleteSubuser(uid, subuser, self.getAdminConnection())
def deleteCapability(self, uid): capType = request.form['type'] capPerm = request.form['perm'] Log.debug( "deleteCapability "+capType+"="+capPerm+" for user with uid "+ uid) return S3User.deleteCapability(uid, capType, capPerm, self.getAdminConnection())
def deleteSubuserKey(self, uid, subuser, key): Log.debug("delete key " + key + " for subuser " + subuser + " for user with uid " + uid) return S3User.deleteSubuserKey(uid, subuser, key, self.getAdminConnection())
def getUser(self, uid): Log.debug("____get user with uid " + uid) return S3User.view(uid, self.getAdminConnection())
def deleteSubuserKey(self, uid, subuser, key): Log.debug( "delete key "+key+" for subuser "+subuser+" for user with uid "+ uid) return S3User.deleteSubuserKey(uid, subuser, key, self.getAdminConnection())