org.pentaho.platform.dataaccess.datasource.wizard.service.impl
Class SimpleDataAccessPermissionHandler
java.lang.Object
org.pentaho.platform.dataaccess.datasource.wizard.service.impl.SimpleDataAccessPermissionHandler
- All Implemented Interfaces:
- IDataAccessPermissionHandler
public class SimpleDataAccessPermissionHandler
- extends Object
- implements IDataAccessPermissionHandler
SimpleDataAccessPermissionHandler
public SimpleDataAccessPermissionHandler()
hasDataAccessPermission
public boolean hasDataAccessPermission(IPentahoSession session)
- Description copied from interface:
IDataAccessPermissionHandler
- This method returns true if the session has permission to
execute arbitrary sql from the client.
- Specified by:
hasDataAccessPermission
in interface IDataAccessPermissionHandler
- Parameters:
session
- pentaho session
- Returns:
- true if allowed