Project

General

Profile

Feature #28769

Add more loaders to macros

Added by Marek Hulán about 2 years ago. Updated almost 2 years 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 almost 2 years 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 about 2 years 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 about 2 years ago

#3 Updated by The Foreman Bot almost 2 years ago

  • Fixed in Releases 2.1.0 added

#4 Updated by Marek Hulán almost 2 years ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF