INNER CODE UNIT · Java

getGroups

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

  default List<Group> getGroups(String policyName) throws ExecutionException {
    throw new UnsupportedOperationException(CoreError.ABAC_NOT_ENABLED.buildMessage());
  }

  /**
   * Sets the given levels of the given policy to a user that has the given username.
   *
   * @param policyName the policy name
   * @param username the username
   * @param levelShortName the short name of the level to set
   * @param defaultLevelShortName the short name of the default level. If null, the {@code
   *     levelShortName} will be used as the default level
   * @param rowLevelShortName the short name of the row level. If null, the {@code
   *     defaultLevelShortName} will be used as the row level
   * @throws ExecutionException if the operation fails
   */
  default void setLevelsToUser(
      String policyName,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…