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

Version Path
cocina-models-0.60.0 lib/cocina/models/access_role.rb
cocina-models-0.59.1 lib/cocina/models/access_role.rb
cocina-models-0.59.0 lib/cocina/models/access_role.rb
cocina-models-0.58.2 lib/cocina/models/access_role.rb
cocina-models-0.58.1 lib/cocina/models/access_role.rb
cocina-models-0.58.0 lib/cocina/models/access_role.rb
cocina-models-0.57.0 lib/cocina/models/access_role.rb
cocina-models-0.56.1 lib/cocina/models/access_role.rb
cocina-models-0.56.0 lib/cocina/models/access_role.rb
cocina-models-0.55.0 lib/cocina/models/access_role.rb
cocina-models-0.54.0 lib/cocina/models/access_role.rb
cocina-models-0.54.0.beta.2 lib/cocina/models/access_role.rb
cocina-models-0.53.1 lib/cocina/models/access_role.rb