Search in sources :

Example 6 with PentahoAclEntry

use of org.pentaho.platform.engine.security.acls.PentahoAclEntry in project pentaho-platform by pentaho.

the class PentahoAllowAllAclVoter method getEffectiveAcl.

public IPentahoAclEntry getEffectiveAcl(final IPentahoSession session, final IAclHolder holder) {
    IPentahoAclEntry rtn = new PentahoAclEntry();
    rtn.setMask(IPentahoAclEntry.PERM_FULL_CONTROL);
    return rtn;
}
Also used : IPentahoAclEntry(org.pentaho.platform.api.engine.IPentahoAclEntry) IPentahoAclEntry(org.pentaho.platform.api.engine.IPentahoAclEntry) PentahoAclEntry(org.pentaho.platform.engine.security.acls.PentahoAclEntry)

Aggregations

IPentahoAclEntry (org.pentaho.platform.api.engine.IPentahoAclEntry)6 PentahoAclEntry (org.pentaho.platform.engine.security.acls.PentahoAclEntry)6 SimpleGrantedAuthority (org.springframework.security.core.authority.SimpleGrantedAuthority)4 ArrayList (java.util.ArrayList)2 IAclHolder (org.pentaho.platform.api.engine.IAclHolder)2 Entry (java.util.Map.Entry)1 IAclEntry (org.pentaho.platform.api.engine.IAclEntry)1 IPermissionMask (org.pentaho.platform.api.engine.IPermissionMask)1 IPermissionRecipient (org.pentaho.platform.api.engine.IPermissionRecipient)1 RepositoryFileAce (org.pentaho.platform.api.repository2.unified.RepositoryFileAce)1 RepositoryFilePermission (org.pentaho.platform.api.repository2.unified.RepositoryFilePermission)1 GrantedAuthority (org.springframework.security.core.GrantedAuthority)1