Project

General

Profile

Actions

Task #3153

closed

Replace in_array and array_intersect access checking with hasAccess

Added by krileon about 12 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
17 January 2012
Due date:
% Done:

100%

Estimated time:

Description

Replace heavy in_array and array_interest usage with new hasAccess function which performs minimal in_array checks and also supposed "and/or" scenarios if access is an array to allow "user must have A + B + C" or "user must have A or B or C" checking.

Actions #1

Updated by krileon about 12 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 40 to 100
Actions #2

Updated by krileon about 12 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF