Actions
Bug #30555
closedAuthorizer is unable to handle association mismatch
Status:
Closed
Priority:
Normal
Assignee:
Category:
Users, Roles and Permissions
Target version:
Difficulty:
medium
Triaged:
Yes
Pull request:
Description
Authorizer is not able to handle situations of filter being defined for association that is defined on Host::Managed, if association to the Host is to the Host::Base
Example:
Filter( permissions: ['view_hosts'], search: 'os = Debian' )
Authorizer#find_collection(Host, permission: :view_hosts, joined_on: FactValue)
Updated by Ondřej Ezr about 4 years ago
- Related to Bug #29011: Adding search for Operating system in role's host filter with permission view_hosts does not construct SQL query when API is used added
Updated by The Foreman Bot about 4 years ago
- Status changed from New to Ready For Testing
- Assignee set to Ondřej Ezr
- Pull request https://github.com/theforeman/foreman/pull/7877 added
Updated by Ondřej Ezr about 4 years ago
- Related to Bug #30681: Filter on fact value is not working properly when FactValue has some default loads added
Updated by Ondřej Ezr about 4 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman|f4d9295e465b3df8f14a14e40f57eb0b0d1db62a.
Updated by Ondřej Ezr about 4 years ago
- Related to deleted (Bug #29011: Adding search for Operating system in role's host filter with permission view_hosts does not construct SQL query when API is used)
Updated by Ondřej Ezr about 4 years ago
- Has duplicate Bug #29011: Adding search for Operating system in role's host filter with permission view_hosts does not construct SQL query when API is used added
Updated by The Foreman Bot about 4 years ago
- Pull request https://github.com/theforeman/foreman/pull/7975 added
Updated by Tomer Brisker almost 4 years ago
- Target version changed from 2.2.0 to 2.3.0
Actions