Sha256: ec7076409c4666bd07d6af2caa312fe6441a25f67dc73f192463575001596f10
Contents?: true
Size: 602 Bytes
Versions: 33
Compression:
Stored size: 602 Bytes
Contents
# frozen_string_literal: true module Cocina module Models class AccessRole < Struct # Name of role attribute :name, Types::Strict::String.enum('dor-apo-creator', 'dor-apo-depositor', 'dor-apo-manager', 'dor-apo-metadata', 'dor-apo-reviewer', 'dor-apo-viewer', 'sdr-administrator', 'sdr-viewer', 'hydrus-collection-creator', 'hydrus-collection-manager', 'hydrus-collection-depositor', 'hydrus-collection-item-depositor', 'hydrus-collection-reviewer', 'hydrus-collection-viewer') attribute :members, Types::Strict::Array.of(AccessRoleMember).default([].freeze) end end end
Version data entries
33 entries across 33 versions & 1 rubygems