Feature #28769
Add more loaders to macros
Pull request:
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
Associated revisions
History
#1
Updated by The Foreman Bot about 1 year 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 1 year ago
- Copied to Feature #28773: Extend Organization Jail from core added
#3
Updated by The Foreman Bot 11 months ago
- Fixed in Releases 2.1.0 added
#4
Updated by Marek Hulán 11 months ago
- Status changed from Ready For Testing to Closed
Applied in changeset 4e1a67a2ff8b720616e4f1196a20a87fa59a7ca1.
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.