
com.datahub.authorization.EntitySpec Maven / Gradle / Ivy
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 - 2025 Weber Informatics LLC | Privacy Policy