[
https://jira.duraspace.org/browse/DS-449?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mark H. Wood reassigned DS-449:
-------------------------------
Assignee: Mark H. Wood
> Command line utility org.dspace.app.harvest.Harvest -S throws
> AuthorizeException
> --------------------------------------------------------------------------------
>
> Key: DS-449
> URL: https://jira.duraspace.org/browse/DS-449
> Project: DSpace
> Issue Type: Bug
> Components: DSpace API
> Affects Versions: 1.6.0
> Reporter: Toni Prieto
> Assignee: Mark H. Wood
> Priority: Major
> Attachments: patch_auth_excep_harvest.txt
>
>
> Running the harvest command line utility with -S option (to start the harvest
> scheduler), the system throws AuthorizeException:
> Authorization denied for action WRITE on COLLECTION:1 by user 0
> Exception:
> org.dspace.authorize.AuthorizeException: Authorization denied for action
> WRITE on COLLECTION:1 by user 0
> at
> org.dspace.authorize.AuthorizeManager.authorizeAction(AuthorizeManager.java:222)
> at org.dspace.content.Collection.canEdit(Collection.java:1021)
> at org.dspace.content.Collection.update(Collection.java:958)
> at org.dspace.harvest.OAIHarvester.runHarvest(OAIHarvester.java:395)
> at
> org.dspace.harvest.OAIHarvester$HarvestThread.runHarvest(OAIHarvester.java:1301)
> at
> org.dspace.harvest.OAIHarvester$HarvestThread.run(OAIHarvester.java:1292)
> at java.lang.Thread.run(Thread.java:619)
> I have created a quick patch that ignore the authorization system when update
> the collection. Probably, it isn't the best solution but it works.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel