Skip to content
This repository was archived by the owner on Mar 3, 2026. It is now read-only.

sul-dlss-deprecated/dor-rights-auth

Repository files navigation

CircleCI Maintainability Test Coverage Gem Version

DOR Rights Auth

Creates objects with the following structure after parsing rightsMetadata XML

# Rights for an object or File
class EntityRights
  @world = Rights
  @group {
    :stanford => Rights
  }
  @agent {
    'app1' => Rights,
    'app2' => Rights
  }
  @location {
    :spec => Rights
  }
end

# Rights for the entire object, and all files
# This is the object used by apps (stacks and purl)
class Dor::RightsAuth
  @object_level = EntityRights
  @file {
    'file1' => EntityRights,
    'file2' => EntityRights
  }
end

About

Hydra rightsMetadata handling gem for dor-services

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages