Msdata.SystPermFunctionalTypes (mscmp_syst_perms v0.1.0)
Defines the different kinds of permissions and allows those permissions to be associated with various degrees of authority.
Defined in MscmpSystPerms.
Summary
Functions
Creates a validated Ecto.Changeset struct for updating an existing database
record.
Types
@type t() :: %Msdata.SystPermFunctionalTypes{ __meta__: Ecto.Schema.Metadata.t(), 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_functional_type_name() | nil, perm_roles: term(), perms: term(), syst_description: String.t() | nil, user_description: String.t() | nil }
Functions
@spec update_changeset( t(), MscmpSystPerms.Types.perm_functional_type_params(), Keyword.t() ) :: Ecto.Changeset.t()
Creates a validated Ecto.Changeset struct for updating an existing database
record.
Parameters
perm_functional_type- TheMsdata.SystPermFunctionalTypesrecord to update.update_params- the values with which to update the record.opts- a keyword list of options to control the validation.
Options
:min_display_name_length(pos_integer/0) - Sets the minimum grapheme length of display_name values. The default value is6.:max_display_name_length(pos_integer/0) - Sets the maximum grapheme length of display_name values. The default value is64.:min_user_description_length(pos_integer/0) - Sets the minimum grapheme length of user_description values. The default value is6.:max_user_description_length(pos_integer/0) - Sets the maximum grapheme length of user_description values. The default value is1000.