|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDataAccessViewPermissionHandler
Implement this interface to override the view permissions behavior of data access. This interface may be implemented and then the implementation class specified in the data-access settings.xml file, within the settings/dataaccess-permission-handler. The specific setting for this class is data-access-view-roles and data-access-view-users
Method Summary | |
---|---|
int |
getDefaultAcls(IPentahoSession session)
This method returns the default acls for permitted role and user |
List<String> |
getPermittedRoleList(IPentahoSession session)
This method returns list of permitted roles who are allowed to view and use datasource |
List<String> |
getPermittedUserList(IPentahoSession session)
This method returns list of permitted user who are allowed to view and use datasource |
boolean |
hasDataAccessViewPermission(IPentahoSession session)
This method returns true if user represented by session has view permission |
Method Detail |
---|
List<String> getPermittedRoleList(IPentahoSession session)
session
- pentaho session
List<String> getPermittedUserList(IPentahoSession session)
session
- pentaho session
int getDefaultAcls(IPentahoSession session)
session
- pentaho session
boolean hasDataAccessViewPermission(IPentahoSession session)
session
- pentaho session
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |