ArchAstro.Types.Acl (archastro v0.2.0)

Copy Markdown

An access-control list payload that supports either full replacement or targeted patch operations on a resource's grants.

Summary

Types

t()

@type t() :: %ArchAstro.Types.Acl{
  add: [ArchAstro.Types.AclGrant.t()] | ArchAstro.Unset.t(),
  grants: [ArchAstro.Types.AclGrant.t()] | ArchAstro.Unset.t(),
  remove: [ArchAstro.Types.AclRemoveTarget.t()] | ArchAstro.Unset.t()
}

Functions

from_map(data)

@spec from_map(ArchAstro.JSON.object()) :: t()

matches?(value)

@spec matches?(ArchAstro.JSON.t()) :: boolean()

to_map(value)

@spec to_map(t()) :: ArchAstro.JSON.object()