Project

General

Profile

Bug #19409

Auto provision does not work after taxonomy fix

Added by Ohad Levy over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:

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

Related to Foreman - Bug #16982: CVE-2016-7078 - User with no organizations or locations can see all resourcesClosed2016-10-18
Related to Discovery - Bug #19313: Auto-provisioning does not orchestrate TFTPClosed2017-04-19

Associated revisions

Revision 777fecc6 (diff)
Added by Ohad Levy over 3 years ago

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.

History

#1 Updated by Ohad Levy over 3 years ago

  • Description updated (diff)

#2 Updated by Ohad Levy over 3 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 over 3 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 over 3 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#5 Updated by Lukas Zapletal over 3 years ago

  • Subject changed from auto provision does not work to Auto provision does not work after taxonomy fix

#6 Updated by Lukas Zapletal over 3 years ago

  • Related to Bug #19313: Auto-provisioning does not orchestrate TFTP added

Also available in: Atom PDF