app/models/concerns/hydra/access_controls/permissions.rb in hydra-access-controls-11.0.0.rc1 vs app/models/concerns/hydra/access_controls/permissions.rb in hydra-access-controls-11.0.0.rc2

- old
+ new

@@ -20,10 +20,10 @@ def permissions_attributes_without_uniqueness=(attrs) permission_delegate.permissions_attributes = attrs end def permission_delegate - (access_control || create_access_control).tap { |d| d.owner = self } + (access_control || build_access_control).tap { |d| d.owner = self } end def to_solr(solr_doc = {}) super.tap do |doc| [:discover, :read, :edit].each do |access|