You have right, DSpace authorization system is a complete mess.

In case someone face the same problem, we manage to solve the problem of 
adding and removing bitstreams with the following steps:

1. The "if" statement in EditItemServlet.java around line 510 is

// only process bitstreams if admin
else if (p.startsWith("bitstream_name")
&& AuthorizeManager.isAdmin(context))
{


and must be

// only process bitstreams if admin
else if (p.startsWith("bitstream_name"))
{

2. In resourcepolicy table the Group that will be able to perform the 
deletions or additions must have following rights:

On the Collection of the item it must have READ, WRITE, ADD, REMOVE, 
DEFAULT_BITSTREAM_READ, DEFAULT_ITEM_READ, COLLECTION_ADMIN rights.

You can give these rights with  "Manage Collection's Policies" page in 
Authorization menu.

On the Item it must have WRITE, ADD, REMOVE   rights.

You can give these rights with "Advanced/Item Wildcard Policy Admin 
Tool" page in Authorization menu.
After adding policies with wildcard policy admin tool is impossible to 
see the changes unless you see the resourcepolicy table in the database.

Ilias Stavrakis








-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to