示例#1
0
def revokeaccess_share(userprojectbinding):
    user = userprojectbinding.user
    dir_share = Dirname.share(userprojectbinding)
    _revokeaccess(user, dir_share)
示例#2
0
def garbagedir_share(userprojectbinding):
    dir_share = Dirname.share(userprojectbinding)
    garbage = Filename.share_garbage(userprojectbinding)
    _archivedir(dir_share, garbage)
示例#3
0
def grantaccess_share(userprojectbinding):
    user = userprojectbinding.user
    dir_share = Dirname.share(userprojectbinding)
    _grantaccess(user, dir_share)
示例#4
0
def mkdir_share(userprojectbinding):
    project = userprojectbinding.project
    dir_share = Dirname.share(userprojectbinding)
    _mkdir(dir_share, uid = project.fs_uid, gid = project.fs_gid)
示例#5
0
def revokeaccess_share(userprojectbinding):
    user = userprojectbinding.user
    dir_share = Dirname.share(userprojectbinding)
    _revokeaccess(user, dir_share)
示例#6
0
def grantaccess_share(userprojectbinding):
    user = userprojectbinding.user
    dir_share = Dirname.share(userprojectbinding)
    _grantaccess(user, dir_share)
示例#7
0
def garbagedir_share(userprojectbinding):
    dir_share = Dirname.share(userprojectbinding)
    garbage = Filename.share_garbage(userprojectbinding)
    _archivedir(dir_share, garbage)
示例#8
0
def mkdir_share(userprojectbinding):
    project = userprojectbinding.project
    dir_share = Dirname.share(userprojectbinding)
    _mkdir(dir_share, uid=project.fs_uid, gid=project.fs_gid)