Msdata.SystPermRoleGrants (mscmp_syst_perms v0.1.0)

Records that grant permissions to specific roles and in specific degrees of authority.

Defined in MscmpSystPerms.

Summary

Functions

See MscmpSystPerms.Impl.Msdata.SystPermRoleGrants.Validators.insert_changeset/1.

See MscmpSystPerms.Impl.Msdata.SystPermRoleGrants.Validators.update_changeset/2.

Types

@type t() :: %Msdata.SystPermRoleGrants{
  __meta__: Ecto.Schema.Metadata.t(),
  admin_scope: 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,
  id: Ecto.UUID.t() | nil,
  maint_scope: MscmpSystPerms.Types.rights_scope() | nil,
  ops_scope: MscmpSystPerms.Types.rights_scope() | nil,
  perm: term(),
  perm_id: MscmpSystPerms.Types.perm_id() | nil,
  perm_role: term(),
  perm_role_id: MscmpSystPerms.Types.perm_role_id() | nil,
  view_scope: MscmpSystPerms.Types.rights_scope() | nil
}

Functions

Link to this function

insert_changeset(insert_params)

See MscmpSystPerms.Impl.Msdata.SystPermRoleGrants.Validators.insert_changeset/1.

Link to this function

update_changeset(perm_role_grant, update_params)

See MscmpSystPerms.Impl.Msdata.SystPermRoleGrants.Validators.update_changeset/2.