DirectorySecurityManager

DIRAC FileCatalog Security Manager mix-in class for access check only on the directory level

class DIRAC.DataManagementSystem.DB.FileCatalogComponents.SecurityManager.DirectorySecurityManager.DirectorySecurityManager(database=None)

Bases: SecurityManagerBase

__init__(database=None)
getPathPermissions(paths, credDict)

Get path permissions according to the policy

hasAccess(opType, paths, credDict)
hasAdminAccess(credDict)
setDatabase(database)