Project

General

Profile

Feature #28769

Add more loaders to macros

Added by Marek Hulán 7 months ago. Updated 5 months ago.

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

Description

Currently only users and hosts can be loaded in report templates. We should allow access to all objects with safe mode defined where applicable (e.g. tokens or nics don't make sense)


Related issues

Copied to Katello - Feature #28773: Extend Organization Jail from coreClosed

Associated revisions

Revision 4e1a67a2 (diff)
Added by Marek Hulán 5 months ago

Fixes #28769 - add more loader macros

There are multiple objects that has Jail defined but can't be loaded in
a sane way. This patch adds load_* macros for all such objects. It also
extracts loaders from base macros to separate file. Load macros are
defined dynamically to avoid repetition of definition and to unify
capabilities of all such macros.

History

#1 Updated by The Foreman Bot 7 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/7364 added

#2 Updated by Marek Hulán 7 months ago

#3 Updated by The Foreman Bot 5 months ago

  • Fixed in Releases 2.1.0 added

#4 Updated by Marek Hulán 5 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF