This is an automated notification sent by LCG Savannah.
It relates to:
task #7641, project CDS Invenio
==============================================================================
LATEST MODIFICATIONS of task #7641:
==============================================================================
Follow-up Comment #1, task #7641 (project cdsware):
A possibility to circumvent implementation problems related to optional
arguments would be to replace the concept by mandatory arguments that accept
* ("all") as value (optional arguments could still exist at admin level in
the web interface, but replaced internally by a mandatory argument with value
*).
This is backward compatible with the any already existing configuration since
the * character has been a forbidden value (it is at least washed away in the
current WebAccess admin interface)
The * character is already used in the "bookcurator" role of the Atlantis
demo configuration (though no one can reproduce this behaviour for other
roles, excepted by inserting the value manually in the DB).
==============================================================================
OVERVIEW of task #7641:
==============================================================================
URL:
<http://savannah.cern.ch/task/?7641>
Summary: acc_is_role() and optional action arguments
Project: CDS Invenio
Submitted by: jcaffaro
Submitted on: 2008-08-25 12:07
Should Start On: 2008-08-25 00:00
Should be Finished on: 2008-08-25 00:00
Category: WebAccess
Priority: 5 - Normal
Status: None
Privacy: Public
Percent Complete: 0%
Assigned to: skaplun
Open/Closed: Open
Discussion Lock: Any
Effort: 0.00
_______________________________________________________
access_control_admin.acc_is_role() ignores roles which have their optional
argument(s) left empty.
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: 2008-08-25 12:30 By: Jerome Caffaro <jcaffaro>
A possibility to circumvent implementation problems related to optional
arguments would be to replace the concept by mandatory arguments that accept
* ("all") as value (optional arguments could still exist at admin level in
the web interface, but replaced internally by a mandatory argument with value
*).
This is backward compatible with the any already existing configuration since
the * character has been a forbidden value (it is at least washed away in the
current WebAccess admin interface)
The * character is already used in the "bookcurator" role of the Atlantis
demo configuration (though no one can reproduce this behaviour for other
roles, excepted by inserting the value manually in the DB).
_______________________________________________________
Carbon-Copy List:
CC Address | Comment
------------------------------------+-----------------------------
2407 | -SUB-
==============================================================================
This item URL is:
<http://savannah.cern.ch/task/?7641>
_______________________________________________
Message sent via/by LCG Savannah
http://savannah.cern.ch/