A definition of access privileges.

Hierarchy (view full)

Implements

Constructors

Accessors

Methods

Constructors

  • Creates a new Grant.

    Parameters

    • grantee: Role

      The role to receive the entitlement

    • entitlement: string

      The role or privilege given to the grantee

    Returns Grant

Accessors

  • get entitlement(): string
  • Gets the role or privilege given to the grantee.

    Returns string

    The grant entitlement

  • get grantee(): Role
  • Gets the role being given entitlement.

    Returns Role

    The role receiving the grant

Methods

  • Produces a SQL statement that creates this object.

    Returns string

    The SQL statement