[
https://jira.duraspace.org/browse/DS-869?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=21420#action_21420
]
Tim Donohue commented on DS-869:
--------------------------------
I've found the source of this bug.
It's caused by what looks to be a copy & paste error in the XMLUI
Administrative Aspect's 'administrative.js' file. In 'administrative.js',
there's a 'doCurateItem()' method which actually performs a curation task on an
Item. That method includes the following:
assertEditCommunity(itemID);
Instead, it should be:
assertEditItem(itemID);
That way, it will properly check that this individual has edit permissions on
that Item. As long as they can edit that Item, they will be able to run
Curation Tasks on that item.
I'll commit a fix to Trunk shortly for 1.8.0.
> Community/Collection admin cannot perform curation tasks on individual items.
> ------------------------------------------------------------------------------
>
> Key: DS-869
> URL: https://jira.duraspace.org/browse/DS-869
> Project: DSpace
> Issue Type: Bug
> Components: XMLUI
> Affects Versions: 1.7.0, 1.7.1, 1.7.2
> Reporter: Peter Dietz
> Assignee: Tim Donohue
> Fix For: 1.8.0
>
>
> A community or collection admin can run curation tasks against containers
> (collections and/or communities), however, they cannot run curation tasks
> directly on items. When a collection admin tries to Peform a curation task on
> an item, they are redirected to a "Insufficient Privileges" page.
> 1) It seems odd that the community admin would not be able to curate an item
> inside of their community.
> 2) If the community admin was not supposed to be able to run curation tasks
> against items, then they shouldn't see the curation tab on the item edit page.
> Personally, I think it makes sense for community admin to be able to curate
> items inside of their community, same goes for collection admin.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.duraspace.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts.
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel