app/models/hydra/access_controls/permission.rb in hydra-access-controls-9.5.0 vs app/models/hydra/access_controls/permission.rb in hydra-access-controls-9.6.0

- old
+ new

@@ -59,12 +59,9 @@ self.agent = case type when "group" Agent.new(::RDF::URI.new("#{GROUP_AGENT_URL_PREFIX}##{name}")) when "person" Agent.new(::RDF::URI.new("#{PERSON_AGENT_URL_PREFIX}##{name}")) - when "user" - Deprecation.warn Permission, "Passing \"user\" as the type to Permission is deprecated. Use \"person\" instead. This will be an error in ActiveFedora 9." - Agent.new(::RDF::URI.new("#{PERSON_AGENT_URL_PREFIX}##{name}")) else raise ArgumentError, "Unknown agent type #{type.inspect}" end end