SUNScholar/Embargo Systems

From Libopedia
(Redirected from SUNScholar/Asset Embargo)
Jump to: navigation, search
BACK TO OPERATIONAL GUIDE

Introduction

  • The ability to embargo items was introduced with DSpace version 1.8.X and then radically modified with DSpace versions =>3.2.
  • Basically embargoes are now activated during submission as a separate step, using specialised forms... simple or advanced.
  • Click here, to do retrospective embargo activation and de-activation using item and collection permissions.
  • Click here, to enable the "request-a-copy" function, introduced in DSpace =>4.X, for embargoed items.

For DSpace 5.X

For DSpace 4.X

For DSpace 3.X

Pre-3.0 Embargo Migration Routine

Step 1

See: https://wiki.duraspace.org/display/DSDOC3x/Managing+Embargoed+Conten

Lift the old embargoes:

$HOME/bin/dspace embargo-lifter -a -v

And then check the old embargoes:

$HOME/bin/dspace embargo-lifter -c -v

Step 2

See: https://wiki.duraspace.org/display/DSDOC5x/Embargo#Embargo-Pre-3.0EmbargoMigrationRoutine

A migration routine has been developed to migrate the old <=1.8.2 embargoes to the new >=3.2 embargoes.

To execute it, run the following command:

$HOME/bin/dspace migrate-embargo -a

Create reports of active embargoes

Please refer to: https://groups.google.com/forum/#!topic/dspace-tech/VyzAKZqc4m8

For DSpace => 3.X

Connect to the database and then execute the following SQL query;

SELECT h.handle, rp.*
FROM resourcepolicy rp, bundle2bitstream b2b, item2bundle i2b, handle h
WHERE (start_date IS NOT NULL OR end_date IS NOT NULL)
AND rp.resource_type_id = 0
AND b2b.bitstream_id = rp.resource_id
AND i2b.bundle_id = b2b.bundle_id
AND i2b.item_id = h.resource_id
AND h.resource_type_id = 2;

For DSpace <= 1.X.X

Connect to the database and then execute the following SQL queries;

SELECT METADATA_FIELD_ID FROM METADATAFIELDREGISTRY WHERE ELEMENT LIKE 'embargo';

then find the item handles: (here done assuming the metadata field id is 81)

SELECT * FROM HANDLE WHERE RESOURCE_TYPE_ID = 2 AND RESOURCE_ID IN (SELECT RESOURCE_ID FROM METADATAVALUE WHERE METADATA_FIELD_ID = 81);