Actions
Bug #26504
closedSearch Hosts by owner = current_user is very inefficient
Description
When a user is a member of four groups and the groups each have a role that allows view_hosts access with a "owner = current_user" search condition, page loading is very slow.
For every group the user leaves, the requests get faster.
This gist contains a request log from api/hosts/redacted.example.com.
The (very simple) request took 30 seconds to be generated.
Updated by The Foreman Bot almost 6 years ago
- Status changed from New to Ready For Testing
- Assignee set to Timo Goebel
- Pull request https://github.com/theforeman/foreman/pull/6636 added
Updated by Timo Goebel almost 6 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset 8776c9c32d253b0c5a3f6aab012777f565c494de.
Actions