Actions
Bug #10918
closedProvisioning templates no longer resolve/available for non-admin users in Foreman 1.7.5
Status:
Feedback
Priority:
High
Assignee:
-
Category:
Organizations and Locations
Target version:
-
Description
After upgrading Foreman from 1.7.4 -> 1.7.5, provisioning templates are no longer resolvable/usable for non-admin users trying to provision new machines.
It seems "All templates" check box in Organization tab is not being correctly applied when user belong to many Organizations and when user context is set to "Any Organization".
Changes in app/models/concerns/taxonomix.rb seem to have caused the regression:
diff app/models/concerns/taxonomix.rb app_1.7.5/models/concerns/taxonomix.rb 80c80 < if SETTINGS[:organizations_enabled] && org --- > if SETTINGS[:organizations_enabled] && org.present?
Actions