Skip to content

Fixes #37418 - Mask hidden Ansible variable values in UI#777

Open
nofaralfasi wants to merge 1 commit into
theforeman:masterfrom
nofaralfasi:37418
Open

Fixes #37418 - Mask hidden Ansible variable values in UI#777
nofaralfasi wants to merge 1 commit into
theforeman:masterfrom
nofaralfasi:37418

Conversation

@nofaralfasi

@nofaralfasi nofaralfasi commented Dec 16, 2025

Copy link
Copy Markdown
Contributor

Overview of Changes

Hidden Ansible variables were displayed in plain text on the host details page under both the Variables and Inventory tabs.

Implementation Considerations

This change masks hidden variable values with '*****' in the UI while still allowing the actual values to be visible when editing (which requires edit_ansible_variables permission).

Testing Steps

Described in the RM issue: https://projects.theforeman.org/issues/37418

Checklists

  • I am familiar with the contributing guidelines.
  • I have added relevant tests for my changes.
  • I have updated the documentation accordingly.

Hidden Ansible variables were displayed in plain text on the host
details page under both the Variables and Inventory tabs.

This change masks hidden variable values with '*****' in the UI while
still allowing the actual values to be visible when editing (which
requires edit_ansible_variables permission).
@nofaralfasi

Copy link
Copy Markdown
Contributor Author

The failing tests are unrelated to this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants