Sha256: 15870b7525fd642cb345766e4efa75815ffe0c98fcadb2f7b5bfa39e609e6991
Contents?: true
Size: 477 Bytes
Versions: 8
Compression:
Stored size: 477 Bytes
Contents
module Hyrax module Workflow # This is a built in function for workflow, so that a workflow action can be created that # grants the creator the ability to view their work. module GrantReadToDepositor # @param [#read_users=, #read_users] target (likely an ActiveRecord::Base) to which we are adding read_users for the depositor # @return void def self.call(target:, **) target.read_users += [target.depositor] end end end end
Version data entries
8 entries across 8 versions & 1 rubygems