cul_hydra 1.9.0 → 1.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/generic_resource.rb +2 -0
- data/lib/cul_hydra/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 196168f0f3d0ca0289bec9980f0eaad07fad8d3ae1c594b35cc5255bddc72fb7
|
4
|
+
data.tar.gz: 5d323a16c37a06ef64b286d647f666c4013c9a1a75c56c71f4ce434f618739cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 26c50ebe9f4132b295a7be90a865825b12b682428d2127f7f5210769f89fac78d4737f8a3f3fc4cea27156797cea743ab959fd52c32f1e52e7db2741f22b1f44
|
7
|
+
data.tar.gz: 03d3fb13ec720b1deb378c7be29b7a77f8fab281f3592a49980bd31d0fb605c2821c708f0636142dff067e520ad8deea6e4bd1252568356b6df75fd71bd0beea
|
@@ -76,6 +76,8 @@ class GenericResource < ::ActiveFedora::Base
|
|
76
76
|
solr_doc["original_name_tesim"] << original_name.strip
|
77
77
|
end
|
78
78
|
|
79
|
+
solr_doc['access_control_levels_ssim'] ||= [Cul::Hydra::AccessLevels::ACCESS_LEVEL_PUBLIC]
|
80
|
+
solr_doc['access_control_permissions_bsi'] = !!solr_doc['access_control_permissions_bsi']
|
79
81
|
solr_doc
|
80
82
|
end
|
81
83
|
|
data/lib/cul_hydra/version.rb
CHANGED