Interface IRepositoryAccessVoterManager
-
public interface IRepositoryAccessVoterManager
Repository voter manager to store list of repository access voters- Author:
- rmansoor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
hasAccess(RepositoryFile file, RepositoryFilePermission operation, RepositoryFileAcl repositoryFileAcl, IPentahoSession session)
Evaluate if the current caller has access to the perform given operation on the current repository itemvoid
registerVoter(IRepositoryAccessVoter voter)
Register a new repository access voter to the platform
-
-
-
Method Detail
-
registerVoter
void registerVoter(IRepositoryAccessVoter voter)
Register a new repository access voter to the platform- Parameters:
voter
-
-
hasAccess
boolean hasAccess(RepositoryFile file, RepositoryFilePermission operation, RepositoryFileAcl repositoryFileAcl, IPentahoSession session)
Evaluate if the current caller has access to the perform given operation on the current repository item- Parameters:
file
-operation
-repositoryFileAcl
-session
-- Returns:
-
-