Hi! 

I assume that in the Submission Workflow for example the account X is
selected as the Collection Administrator. In the Submission Workflow
select X as a Submitter. I hope this will allow X to submit to the
specified collection without DSpace administrator privileges. Incase you
need to create a collection admin as well as a separate submitter you
may follow the steps given below.

http://www.mail-archive.com/[email protected]/msg01704.h
tml


Thanks,
Jayan

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dan
Scott
Sent: Tuesday, July 17, 2007 8:35 AM
To: [email protected]
Subject: [Dspace-tech] Authorizing a user to add a file to a document

Hi:

I chatted briefly with Rob Tansley about this on IRC, but I thought I
would post to the list and see if I'm overlooking something.

I'm attempting to grant a user the ability to add more files to a
single document. The context is that the document is a book, and the
author wants to be able to add chapters as they are completed so that
it is an open work in progress. We're running DSpace 1.4.1 at the
moment.

In the process of trial and error, I added the user to the Collection
Admin group for the collection in which the document appears. That
wasn't enough; so I gave the user ADD and WRITE permissions on the
item Bundle; that wasn't enough. I can't see any further permissions
that I can add through the Item Policy editor.

When the user tries to add an item, however, they receive an error
message that they are not authorized to perform that action. The log
file contains the following exception:

authorize_error:org.dspace.authorize.AuthorizeException: Authorization
denied for action WRITE on BITSTREAM:176 by user 6

But of course, I can't grant permissions to the user on the bitstream
in advance because that is simply the next bitstream in sequence - it
doesn't exist until the user attempts to upload it. From reading the
pertinent code[1], it seems that the only way to add files to a
document is if you are a DSpace administrator - and I really don't
want to open things up this wide for a single user.

Am I missing something obvious here? Or is DSpace not set up to enable
this sort of granular authorization scheme?

1.
http://dspace.svn.sourceforge.net/viewvc/dspace/trunk/dspace-api/src/mai
n/java/org/dspace/authorize/AuthorizeManager.java?revision=1957&view=mar
kup,
method authorize(), clause "if isAdmin(c) { return true; }

Thanks,
-- 
Dan Scott
Laurentian University

------------------------------------------------------------------------
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to