Msdata.SystPerms (mscmp_syst_perms v0.1.0)

Definition of a system/application permission.

Defined in MscmpSystPerms.

Summary

Functions

See MscmpSystPerms.Impl.Msdata.SystPerms.Validators.insert_changeset/2.

See MscmpSystPerms.Impl.Msdata.SystPerms.Validators.update_changeset/3.

Types

@type t() :: %Msdata.SystPerms{
  __meta__: Ecto.Schema.Metadata.t(),
  admin_scope_options: [MscmpSystPerms.Types.rights_scope()] | nil,
  diag_role_created: String.t() | nil,
  diag_role_modified: String.t() | nil,
  diag_row_version: integer() | nil,
  diag_timestamp_created: DateTime.t() | nil,
  diag_timestamp_modified: DateTime.t() | nil,
  diag_update_count: integer() | nil,
  diag_wallclock_modified: DateTime.t() | nil,
  display_name: String.t() | nil,
  id: Ecto.UUID.t() | nil,
  internal_name: MscmpSystPerms.Types.perm_name() | nil,
  maint_scope_options: [MscmpSystPerms.Types.rights_scope()] | nil,
  ops_scope_options: [MscmpSystPerms.Types.rights_scope()] | nil,
  perm_functional_type: term(),
  perm_functional_type_id: MscmpSystPerms.Types.perm_functional_type_id() | nil,
  perm_role_grants: term(),
  syst_defined: boolean() | nil,
  syst_description: String.t() | nil,
  user_description: String.t() | nil,
  view_scope_options: [MscmpSystPerms.Types.rights_scope()] | nil
}

Functions

Link to this function

insert_changeset(insert_params, opts \\ [])

@spec insert_changeset(MscmpSystPerms.Types.perm_params(), Keyword.t()) ::
  Ecto.Changeset.t()

See MscmpSystPerms.Impl.Msdata.SystPerms.Validators.insert_changeset/2.

Link to this function

update_changeset(perm, update_params, opts \\ [])

@spec update_changeset(t(), MscmpSystPerms.Types.perm_params(), Keyword.t()) ::
  Ecto.Changeset.t()

See MscmpSystPerms.Impl.Msdata.SystPerms.Validators.update_changeset/3.