Difference between revisions of "SUNScholar/Versioning"

From Libopedia
Jump to navigation Jump to search
Line 12: Line 12:
 
<aspect name="Versioning Aspect" path="resource://aspects/Versioning/" />
 
<aspect name="Versioning Aspect" path="resource://aspects/Versioning/" />
 
</pre>
 
</pre>
 +
;Step 2 - Setup permissions
 +
Edit the following file:
 +
nano /home/dspace/source/dspace/config/modules/versioning.cfg
 +
And enable permissions. See example below.
 +
<pre>
 +
item.history.view.admin=false
 +
</pre>
 +
;Customisation
 +
Edit the following files to customise versioning.
 +
/home/dspace/source/dspace/config/spring/api/versioning-service.xml
  
 +
/home/dspace/source/dspace/config/spring/api/identifier-service.xml
 
;References
 
;References
 
*https://wiki.duraspace.org/display/DSDOC4x/Item+Level+Versioning
 
*https://wiki.duraspace.org/display/DSDOC4x/Item+Level+Versioning

Revision as of 10:10, 11 December 2013

Please note: This feature was released with DSpace version 3.2 and therefore not fully tried and tested.

You apply this feature at your own risk.

Step 1 - Enable versioning with the XMLUI

Edit the following file:

nano /home/dspace/source/dspace/config/xmlui.xconf

And enable versioning for the XMLUI. See example below.


<!-- =====================
     Item Level Versioning
     ===================== -->
<!-- To enable Item Level Versioning features, uncomment this aspect. -->
<aspect name="Versioning Aspect" path="resource://aspects/Versioning/" />
Step 2 - Setup permissions

Edit the following file:

nano /home/dspace/source/dspace/config/modules/versioning.cfg

And enable permissions. See example below.

item.history.view.admin=false
Customisation

Edit the following files to customise versioning.

/home/dspace/source/dspace/config/spring/api/versioning-service.xml
/home/dspace/source/dspace/config/spring/api/identifier-service.xml
References
Back to Customisation