This is an automated notification sent by LCG Savannah.
It relates to:
task #11280, project CDS Invenio
==============================================================================
OVERVIEW of task #11280:
==============================================================================
URL:
<http://savannah.cern.ch/task/?11280>
Summary: webupload: stricter collection checking
Project: CDS Invenio
Submitted by: simko
Submitted on: 2009-09-21 12:46
Should Start On: 2009-09-21 00:00
Should be Finished on: 2009-09-21 00:00
Category: BibUpload
Priority: 5 - Normal
Status: None
Privacy: Public
Percent Complete: 0%
Assigned to: jmartinm
Open/Closed: Open
Discussion Lock: Any
Effort: 0.00
_______________________________________________________
Currently, webupload at CERN is used by robots only, so a safety check
whether a user A is permitted to webupload to a certain collection B
is done on the input file F only.
In order to be able to spread the use of webupload more, and to
prevent human errors, a stricter collection check is needed. Namely,
for every record R in the input file F that is matched via tag 001 (or
tag 970, or oai-id), we should extract its current collection C, and
we should not permit webupload to user A unless user A has rights to
webupload for both B and C collections.
This can be implemented either (i) as an a priori check inside
webupload itself, or (ii) as a new bibupload optional parameter named
like `--ensure-collection' that webupload would raise and the
collection check would be done a posteriori inside bibupload itself.
The former seems cleaner, but it requires record matching via any
combination of 001/970/035 for the highest security. (The matching
algorithm and preferences are located inside bibupload.)
_______________________________________________________
Carbon-Copy List:
CC Address | Comment
------------------------------------+-----------------------------
1576 | -SUB-
==============================================================================
This item URL is:
<http://savannah.cern.ch/task/?11280>
_______________________________________________
Message sent via/by LCG Savannah
http://savannah.cern.ch/