示例#1
0
 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())
示例#2
0
 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())
示例#3
0
 def modifyUser(self, uid):
     Log.debug( "modify user with uid "+ uid)
     jsonform = request.form['json']
     return S3User.modify(uid,jsonform,self.getAdminConnection())
示例#4
0
 def listUsers(self):
     Log.debug( "list users from rgw api")
     return S3User.list(self.getAdminConnection())
示例#5
0
 def createUser(self):
     Log.debug( "user creation")
     jsonform = request.form['json']
     return S3User.create(jsonform,self.getAdminConnection())
示例#6
0
 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())
示例#7
0
 def getUserBuckets(self, uid):
     Log.debug( "getBuckets for uid " + uid)
     jsonform = None
     return S3User.getBuckets(uid,jsonform,self.getAdminConnection())
示例#8
0
 def deleteSubuser(self, uid, subuser):
     Log.debug( "delete subuser "+subuser+" for user with uid "+ uid)
     return S3User.deleteSubuser(uid, subuser, self.getAdminConnection())
示例#9
0
 def getUserBuckets(self, uid):
     Log.debug("getBuckets for uid " + uid)
     jsonform = None
     return S3User.getBuckets(uid, jsonform, self.getAdminConnection())
示例#10
0
 def removeUser(self, uid):
     Log.debug( "remove user with uid "+ uid)
     return S3User.remove(uid,self.getAdminConnection())
示例#11
0
 def createSubuser(self, uid):
     Log.debug( "create subuser for user with uid "+ uid)
     jsonform = request.form['json']
     return S3User.createSubuser(uid,jsonform,self.getAdminConnection())
示例#12
0
 def removeUserKey(self, uid, key):
     Log.debug("remove key for user with uid " + uid)
     return S3User.removeKey(key, self.getAdminConnection())
示例#13
0
 def createSubuser(self, uid):
     Log.debug("create subuser for user with uid " + uid)
     jsonform = request.form['json']
     return S3User.createSubuser(uid, jsonform, self.getAdminConnection())
示例#14
0
 def removeUser(self, uid):
     Log.debug("remove user with uid " + uid)
     return S3User.remove(uid, self.getAdminConnection())
示例#15
0
 def getUser(self, uid):
     Log.debug("get user with uid " + uid)
     return S3User.view(uid, self.getAdminConnection())
示例#16
0
 def modifyUser(self, uid):
     Log.debug("modify user with uid " + uid)
     jsonform = request.form['json']
     return S3User.modify(uid, jsonform, self.getAdminConnection())
示例#17
0
 def createUser(self):
     Log.debug("user creation")
     jsonform = request.form['json']
     return S3User.create(jsonform, self.getAdminConnection())
示例#18
0
 def listUsers(self):
     Log.debug("list users from rgw api")
     return S3User.list(self.getAdminConnection())
示例#19
0
 def removeUserKey(self, uid, key):
     Log.debug( "remove key for user with uid "+ uid)
     return S3User.removeKey(key,self.getAdminConnection())
示例#20
0
 def deleteSubuser(self, uid, subuser):
     Log.debug("delete subuser " + subuser + " for user with uid " + uid)
     return S3User.deleteSubuser(uid, subuser, self.getAdminConnection())
示例#21
0
 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())
示例#22
0
 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())
示例#23
0
 def getUser(self, uid):
     Log.debug("____get user with uid " + uid)
     return S3User.view(uid, self.getAdminConnection())
示例#24
0
文件: S3Ctrl.py 项目: XakRu/inkscope
 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())