Sha256: 6bb30717ba2a4806bce1b191760102d91a25262281772d7700af7887cac9085b

Contents?: true

Size: 219 Bytes

Versions: 10

Compression:

Stored size: 219 Bytes

Contents

module Ddr
  module Managers
    class SolrDocumentRoleManager < AbstractRoleManager

      def granted
        @granted ||= Ddr::Auth::Roles::RoleSet.deserialize(object.access_role, :json)
      end

    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
ddr-models-1.17.1 lib/ddr/managers/solr_document_role_manager.rb
ddr-models-1.17.0 lib/ddr/managers/solr_document_role_manager.rb
ddr-models-1.16.2 lib/ddr/managers/solr_document_role_manager.rb
ddr-models-1.16.1 lib/ddr/managers/solr_document_role_manager.rb
ddr-models-1.16.0 lib/ddr/managers/solr_document_role_manager.rb
ddr-models-1.15.0 lib/ddr/managers/solr_document_role_manager.rb
ddr-models-1.14.2 lib/ddr/managers/solr_document_role_manager.rb
ddr-models-1.14.1 lib/ddr/managers/solr_document_role_manager.rb
ddr-models-1.14.0 lib/ddr/managers/solr_document_role_manager.rb
ddr-models-1.13.2 lib/ddr/managers/solr_document_role_manager.rb