INNER CODE UNIT · Java
getPolicies
scalar-labs/scalardb · core/src/main/java/com/scalar/db/api/AbacAdmin.java:62
default List<Policy> getPolicies() throws ExecutionException {
throw new UnsupportedOperationException(CoreError.ABAC_NOT_ENABLED.buildMessage());
}
/**
* Creates a level with the given short name, long name and level number for the given policy.
*
* @param policyName the policy name
* @param levelShortName the short name of the level
* @param levelLongName the long name of the level
* @param levelNumber the level number
* @throws ExecutionException if the operation fails
*/
default void createLevel(
String policyName, String levelShortName, String levelLongName, int levelNumber)
throws ExecutionException {
throw new UnsupportedOperationException(CoreError.ABAC_NOT_ENABLED.buildMessage());
}