Homec4science

WebSearch: fix access to restricted records

Authored by kuncar on Mar 1 2013, 16:27.

Description

WebSearch: fix access to restricted records

  • Adds check if user can see the record before any '/record' page is displayed. (closes: #1340)
  • Adds method is_super_admin to check if current_user is super admin.

Reported-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>

Details

Event Timeline

Tibor Simko <tibor.simko@cern.ch> committed R3600:244013a991df: WebSearch: fix access to restricted records (authored by Jiri Kuncar <jiri.kuncar@cern.ch>).Mar 4 2013, 13:33