Bug #19409
Auto provision does not work after taxonomy fix
Difficulty:
Triaged:
No
Description
When using auto provision, since #16982, no discovery roles are matched, as the default scope adds 1=0 to the query, as there is no current user when importing facts.
Related issues
Associated revisions
History
#1
Updated by Ohad Levy almost 6 years ago
- Description updated (diff)
#2
Updated by Ohad Levy almost 6 years ago
- Related to Bug #16982: CVE-2016-7078 - User with no organizations or locations can see all resources added
#3
Updated by The Foreman Bot almost 6 years ago
- Status changed from New to Ready For Testing
- Assignee set to Ohad Levy
- Pull request https://github.com/theforeman/foreman_discovery/pull/342 added
#4
Updated by Ohad Levy almost 6 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset foreman_discovery|777fecc60004ba1053f98f9696e761d30f3e8eb6.
#5
Updated by Lukas Zapletal almost 6 years ago
- Subject changed from auto provision does not work to Auto provision does not work after taxonomy fix
#6
Updated by Lukas Zapletal almost 6 years ago
- Related to Bug #19313: Auto-provisioning does not orchestrate TFTP added
fixes #19409 - auto provision now uses anonymous admin (#342)
with the introduction of Bug fix #16982: CVE-2016-7078 - User with no organizations or locations can see all resources added.
Discovery queries without a current user fail, this fixes that.