Homec4science

WebAccess: IP-based rules and offline user fix

Authored by Samuele Kaplun <samuele.kaplun@cern.ch> on Dec 13 2012, 10:09.

Description

WebAccess: IP-based rules and offline user fix

  • Correctly handles a corner case of access_control_firerole.acc_firerole_check_user() where, when checking a guest user created with collect_user_info(None) (hence having the 'remote_ip' key set to '') against an IP-based FireRole rule, would have raised an unhandled exception. (closes #1233)
  • Introduces a new register_exception() statement in order to early discover troubles with acc_firerole_check_user().

Details

Committed
Tibor Simko <tibor.simko@cern.ch>Jan 7 2013, 14:08
Parents
R3600:31378561efdf: Invenio v0.99.7
Branches
Unknown
Tags
Unknown

Event Timeline

Tibor Simko <tibor.simko@cern.ch> committed R3600:c671331829b8: WebAccess: IP-based rules and offline user fix (authored by Samuele Kaplun <samuele.kaplun@cern.ch>).Jan 7 2013, 14:08