Module Values.UpdateInstructionSource

Contains the instructions for one Grafana role permission update in a UpdatePermissions operation.

Sourcetype nonrec t = {
  1. action : UpdateAction.t;
    (*

    Specifies whether this update is to add or revoke role permissions.

    *)
  2. role : Role.t;
    (*

    The role to add or revoke for the user or the group specified in users.

    *)
  3. users : UserList.t;
    (*

    A structure that specifies the user or group to add or revoke the role for.

    *)
}
Sourceval context_ : string
Sourceval make : action:UpdateAction.t -> role:Role.t -> users:UserList.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Enum of string | `String of SsoId.t ]) list ] list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t