public interface IRepositoryAccessVoter
Modifier and Type | Method and Description |
---|---|
boolean |
hasAccess(RepositoryFile file,
RepositoryFilePermission operation,
RepositoryFileAcl acl,
IPentahoSession session)
Determines whether the user has access to perform a specific operation on a particular file in the repository.
|
boolean hasAccess(RepositoryFile file, RepositoryFilePermission operation, RepositoryFileAcl acl, IPentahoSession session)
file
- Parent folder or file.operation
- Operation the user is trying to perform.acl
- ACL of the folder/file where this operation is about to be performed.session
- Pentaho session of the user.