INNER CODE UNIT · Java

enablePolicy

scalar-labs/scalardb · core/src/main/java/com/scalar/db/api/AbacAdmin.java:31

  default void enablePolicy(String policyName) throws ExecutionException {
    throw new UnsupportedOperationException(CoreError.ABAC_NOT_ENABLED.buildMessage());
  }

  /**
   * Disables a policy that has the given name.
   *
   * @param policyName the policy name
   * @throws ExecutionException if the operation fails
   */
  default void disablePolicy(String policyName) throws ExecutionException {
    throw new UnsupportedOperationException(CoreError.ABAC_NOT_ENABLED.buildMessage());
  }

  /**
   * Retrieves a policy that has the given name.
   *
   * @param policyName the policy name

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…