#868: WebSubmit: customizable Document File Manager
-----------------------------------+-----------------
Reporter: jcaffaro | Owner:
Type: enhancement | Status: new
Priority: trivial | Milestone:
Component: WebSubmit | Version:
Keywords: document file manager |
-----------------------------------+-----------------
The Document File Manager currently provides default hardcoded settings,
such as the list of document types (parameter {{{doctypes_and_desc}}}) and
the list of restrictions (parameter {{{restrictions_and_desc}}}).
See
source:modules/websubmit/lib/websubmit_webinterface.py@afbd9dcc0078dc056ead092ddb426b6082e46fa8#L440
It would be needed to introduce a way to customize some of these defaults
settings, for eg. by adding
{{{doctypes_and_desc=CFG_WEBSUBMIT_FILE_MANAGER_DOCTYPES}}} and
{{{restrictions_and_desc=CFG_WEBSUBMIT_FILE_MANAGER_RESTRICTIONS}}}, so
that the list of document types and restrictions could be customized per
installation, in Invenio config file.
More parameters could be offered as config variables, though it might be
considered as an overkill (the Document File Manager remaining primarily
developed to be used as a WebSubmit function, providing in this context
full control over its parameters).
--
Ticket URL: <http://invenio-software.org/ticket/868>
Invenio <http://invenio-software.org>