Project

General

Profile

Actions

Bug #6332

closed

Unnecessary taxonomy related SQL queries in authorizer when feature's disabled

Added by Dominic Cleal almost 10 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Users, Roles and Permissions
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

When organisations and locations are disabled, the authorizer (app/services/authorizer.rb) continues to look up taxonomy information from the database, which is an unnecessary cost. It could also lead to issues where taxonomies aren't set up correctly but still influence behaviour, despite being "disabled".

Actions

Also available in: Atom PDF