UserAndGroupManagerCS

DIRAC FileCatalog mix-in class to manage users and groups from the CS Registry

class DIRAC.DataManagementSystem.DB.FileCatalogComponents.UserGroupManager.UserAndGroupManagerCS.UserAndGroupManagerCS(database=None)

Bases: UserAndGroupManagerBase

__init__(database=None)
addGroup(gname)
addUser(name)
deleteGroup(gname, force=True)
deleteUser(name, force=True)
findGroup(group)
findUser(user)
getGroupName(gid)
getGroups()
getUserAndGroupID(credDict)
getUserAndGroupRight(credDict)

Evaluate rights for user and group operations

getUserName(uid)
getUsers()
setDatabase(database)