Sha256: 4664194522d49cc876be1835a088601476702213e1fd73140adaff1c7b8b7f5a
Contents?: true
Size: 763 Bytes
Versions: 58
Compression:
Stored size: 763 Bytes
Contents
module Hyrax module Forms module Widgets class AdminSetVisibility # Visibility options for permission templates def options i18n_prefix = "hyrax.admin.admin_sets.form_visibility.visibility" # Note: Visibility 'varies' = '' implies no constraints [[Hydra::AccessControls::AccessRight::VISIBILITY_TEXT_VALUE_PUBLIC, I18n.t('.everyone', scope: i18n_prefix)], ['', I18n.t('.varies', scope: i18n_prefix)], [Hydra::AccessControls::AccessRight::VISIBILITY_TEXT_VALUE_AUTHENTICATED, I18n.t('.institution', scope: i18n_prefix)], [Hydra::AccessControls::AccessRight::VISIBILITY_TEXT_VALUE_PRIVATE, I18n.t('.restricted', scope: i18n_prefix)]] end end end end end
Version data entries
58 entries across 58 versions & 2 rubygems