Homec4science

WebSearch: permissive check_user_can_view_record()

Authored by Tibor Simko <tibor.simko@cern.ch> on Jun 14 2011, 18:43.

Description

WebSearch: permissive check_user_can_view_record()

  • Allows also string recid argument type to check_user_can_view_record(), because some clients pass recid not as int, but as string, e.g. publiline. This fixes some publiline tracebacks. When proper recid argument type is ensured with all the callers on the client side, the type check in check_user_can_view_record() can be removed.

Details

Committed
Tibor Simko <tibor.simko@cern.ch>Jun 14 2011, 18:43
Parents
R3600:87e6224dfa65: WebSubmit: update web tests for 2011
Branches
Unknown
Tags
Unknown

Event Timeline

Tibor Simko <tibor.simko@cern.ch> committed R3600:4936e50c9f80: WebSearch: permissive check_user_can_view_record() (authored by Tibor Simko <tibor.simko@cern.ch>).Jun 14 2011, 18:43