Sha256: c12f6874d187b072dd2b22b96135cbbf4885c3104782df39a7455a40b0e44b5b
Contents?: true
Size: 1.59 KB
Versions: 13
Compression:
Stored size: 1.59 KB
Contents
module Ddr module Auth module Roles module RoleTypes CURATOR = RoleType.new( "Curator", "The Curator role conveys responsibility for curating a resource " \ "and delegating responsibilities to other agents.", Permissions::ALL ) EDITOR = RoleType.new( "Editor", "The Editor role conveys reponsibility for managing the content, " \ "description and structural arrangement of a resource.", Permissions::ALL - [ Permissions::GRANT ] ) METADATA_EDITOR = RoleType.new( "MetadataEditor", "The Metadata Editor role conveys responsibility for " \ "managing the description of a resource.", [ Permissions::READ, Permissions::DOWNLOAD, Permissions::UPDATE ] ) CONTRIBUTOR = RoleType.new( "Contributor", "The Contributor role conveys responsibility for adding related " \ "resources to a resource, such as works to a collection.", [ Permissions::READ, Permissions::ADD_CHILDREN ] ) DOWNLOADER = RoleType.new( "Downloader", "The Downloader role conveys access to the \"master\" file " \ "(original content bitstream) of a resource.", [ Permissions::READ, Permissions::DOWNLOAD ] ) VIEWER = RoleType.new( "Viewer", "The Viewer role conveys access to the description and \"access\" " \ "files (e.g., derivative bitstreams) of a resource.", [ Permissions::READ ] ) end end end end
Version data entries
13 entries across 13 versions & 1 rubygems