All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.datahub.authorization.EntitySpec Maven / Gradle / Ivy

Go to download

DataHub Auth API for developers to write custom Authentication & Authorization plugins for DataHub

There is a newer version: 0.14.1-12rc1
Show newest version
package com.datahub.authorization;

import javax.annotation.Nonnull;
import lombok.Value;

/**
 * Details about the entities involved in the authorization process. It models the actor and the
 * resource being acted upon. Resource types currently supported can be found inside of {@link
 * com.linkedin.metadata.authorization.PoliciesConfig}
 */
@Value
public class EntitySpec {
  /** The entity type. (dataset, chart, dashboard, corpGroup, etc). */
  @Nonnull String type;

  /**
   * The entity identity. Most often, this corresponds to the raw entity urn.
   * (urn:li:corpGroup:groupId)
   */
  @Nonnull String entity;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy