Difference between revisions of "SUNScholar/Versioning"

From Libopedia
Jump to navigation Jump to search
 
(20 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
  '''[[SUNScholar/Customisation|Back to Customisation]]'''
 
  '''[[SUNScholar/Customisation|Back to Customisation]]'''
 
</center>
 
</center>
 
+
==Step 1 - Enable versioning with the XMLUI==
{{FEATURES-3.2}}
 
 
 
;Step 1 - Enable versioning with the XMLUI
 
 
Edit the following file:
 
Edit the following file:
  nano /home/dspace/<u>[[SUNScholar/Install_DSpace/S03#Step_3.2|source]]</u>/dspace/config/xmlui.xconf
+
  nano $HOME/{{Source}}/dspace/config/xmlui.xconf
 
And enable versioning for the XMLUI. See example below.
 
And enable versioning for the XMLUI. See example below.
 
<pre>
 
<pre>
 +
        <!-- =====================
 +
            Item Level Versioning
 +
            =====================
 +
        -->
 +
        <!-- To enable Item Level Versioning features, uncomment this aspect.
 +
            This is currently disabled by default because of two known issues:
 +
            DS-1382 and DS-1349. Please, review them to see whether they apply
 +
            to you before enabling versioning.
 +
        -->
 +
            <aspect name="Versioning Aspect" path="resource://aspects/Versioning/" />
 +
</pre>
  
<!-- =====================
+
==Step 2 - Setup permissions==
    Item Level Versioning
 
    ===================== -->
 
<!-- To enable Item Level Versioning features, uncomment this aspect. -->
 
<aspect name="Versioning Aspect" path="resource://aspects/Versioning/" />
 
</pre>
 
;Step 2 - Setup permissions
 
 
Edit the following file:
 
Edit the following file:
  nano /home/dspace/<u>[[SUNScholar/Install_DSpace/S03#Step_3.2|source]]</u>/dspace/config/modules/versioning.cfg
+
  nano $HOME/{{Source}}/dspace/config/modules/versioning.cfg
 
And enable permissions. See example below.
 
And enable permissions. See example below.
 
<pre>
 
<pre>
 +
# Control if the history overview of an item should only be shown to administrators
 +
# If enabled only the administrators for the item will be able to view the versioning history
 +
# If disabled anyone with READ permissions on the item will be able to view the versioning history
 
item.history.view.admin=false
 
item.history.view.admin=false
 
</pre>
 
</pre>
;Step 3 - Rebuild DSpace
+
 
 +
==Step 3 - Rebuild DSpace==
 
*http://wiki.lib.sun.ac.za/index.php/SUNScholar/Rebuild_DSpace
 
*http://wiki.lib.sun.ac.za/index.php/SUNScholar/Rebuild_DSpace
  
;Customisation
+
==Customisation==
 
Edit the following files to customise versioning.
 
Edit the following files to customise versioning.
  nano /home/dspace/<u>[[SUNScholar/Install_DSpace/S03#Step_3.2|source]]</u>/dspace/config/spring/api/versioning-service.xml
+
  nano $HOME/{{Source}}/dspace/config/spring/api/versioning-service.xml
 
 
nano /home/dspace/<u>[[SUNScholar/Install_DSpace/S03#Step_3.2|source]]</u>/dspace/config/spring/api/identifier-service.xml
 
  
;References
+
==References==
 +
*https://wiki.duraspace.org/display/DSDOC5x/Item+Level+Versioning
 
*https://wiki.duraspace.org/display/DSDOC4x/Item+Level+Versioning
 
*https://wiki.duraspace.org/display/DSDOC4x/Item+Level+Versioning
 
*https://wiki.duraspace.org/display/DSDOC3x/Item+Level+Versioning
 
*https://wiki.duraspace.org/display/DSDOC3x/Item+Level+Versioning
 +
[[Category:Customisation]]

Latest revision as of 15:59, 29 May 2016

Back to Customisation

Step 1 - Enable versioning with the XMLUI

Edit the following file:

nano $HOME/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.
             This is currently disabled by default because of two known issues:
             DS-1382 and DS-1349. Please, review them to see whether they apply
             to you before enabling versioning.
        -->
             <aspect name="Versioning Aspect" path="resource://aspects/Versioning/" />

Step 2 - Setup permissions

Edit the following file:

nano $HOME/source/dspace/config/modules/versioning.cfg

And enable permissions. See example below.

# Control if the history overview of an item should only be shown to administrators
# If enabled only the administrators for the item will be able to view the versioning history
# If disabled anyone with READ permissions on the item will be able to view the versioning history
item.history.view.admin=false

Step 3 - Rebuild DSpace

Customisation

Edit the following files to customise versioning.

nano $HOME/source/dspace/config/spring/api/versioning-service.xml

References