Sha256: 77a6cae41278f09c31f5a21064d261a7fc46b411664936b7946962d5f1163e4c
Contents?: true
Size: 399 Bytes
Versions: 8
Compression:
Stored size: 399 Bytes
Contents
# frozen_string_literal: true module Hyrax class PermissionTemplateAccess < ActiveRecord::Base self.table_name = 'permission_template_accesses' belongs_to :permission_template VIEW = 'view'.freeze DEPOSIT = 'deposit'.freeze MANAGE = 'manage'.freeze enum( access: { VIEW => VIEW, DEPOSIT => DEPOSIT, MANAGE => MANAGE } ) end end
Version data entries
8 entries across 8 versions & 1 rubygems