#670: BibEdit: authorize based on all collections membership, not only "primary"
---------------------------------------+----------------------
Reporter: jcaffaro | Owner: jmartinm
Type: enhancement | Status: new
Priority: minor | Milestone:
Component: BibEdit | Version:
Keywords: Access rights collections |
---------------------------------------+----------------------
Currently BibEdit can grant editing rights based on membership of the
record to a collection (WebAccess action "runbibedit", with parameter
"collection"). The access rights are checked against the "primary"
collection of the record, retrieved via
{{{search_engine.guess_primary_collection_of_a_record(..)}}}. This leaves
aside all other collections the record might belong to.
The proposal is to investigate the possibility to check against all
collections using {{{search_engine.get_all_collections_of_a_record(..)}}}.
It should be thought if it is enough to find one collection for which the
access rights are granted, or if all collections should be authorized,
etc.
--
Ticket URL: <http://invenio-software.org/ticket/670>
Invenio <http://invenio-software.org>