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.72.0 lib/cocina/models/access_role.rb
cocina-models-0.71.0 lib/cocina/models/access_role.rb
cocina-models-0.70.0 lib/cocina/models/access_role.rb
cocina-models-0.69.2 lib/cocina/models/access_role.rb
cocina-models-0.69.1 lib/cocina/models/access_role.rb
cocina-models-0.69.0 lib/cocina/models/access_role.rb
cocina-models-0.68.0 lib/cocina/models/access_role.rb
cocina-models-0.67.1 lib/cocina/models/access_role.rb
cocina-models-0.67.0 lib/cocina/models/access_role.rb
cocina-models-0.66.0 lib/cocina/models/access_role.rb
cocina-models-0.65.1 lib/cocina/models/access_role.rb
cocina-models-0.65.0 lib/cocina/models/access_role.rb
cocina-models-0.64.0 lib/cocina/models/access_role.rb
cocina-models-0.63.1 lib/cocina/models/access_role.rb
cocina-models-0.62.1 lib/cocina/models/access_role.rb
cocina-models-0.62.0 lib/cocina/models/access_role.rb
cocina-models-0.61.3 lib/cocina/models/access_role.rb
cocina-models-0.61.2 lib/cocina/models/access_role.rb
cocina-models-0.61.1 lib/cocina/models/access_role.rb
cocina-models-0.61.0 lib/cocina/models/access_role.rb