SaltDns.Zones.Actor (Salt v1.0.0)

Who is making a change, for the audit trail: the interface (source), the signed-in user if any, and the API credential if any.

Summary

Functions

An actor for a signed-in user.

An actor that is not a user, such as the reconciler or an RFC 2136 client.

Types

t()

@type t() :: %SaltDns.Zones.Actor{
  credential_id: integer() | nil,
  source:
    :ui
    | :api
    | :pdns_api
    | :rfc2136
    | :import
    | :reconciler
    | :acme
    | :proxy
    | :preset,
  user_id: integer() | nil
}

Functions

for_user(user, source \\ :ui)

@spec for_user(SaltDns.Accounts.User.t(), atom()) :: t()

An actor for a signed-in user.

system(source, credential_id \\ nil)

@spec system(atom(), integer() | nil) :: t()

An actor that is not a user, such as the reconciler or an RFC 2136 client.