Skip to content

Conversation

@jnovinger
Copy link
Member

Fixes: #20929

  • Modified ObjectRenderConfigView.has_permission() to require both view and render_config permissions
  • Added remove_permissions() test helper to remove permissions from existing ObjectPermission objects
  • Added regression tests for Device and VirtualMachine render-config permission enforcement

The render_config permission action was introduced in #16681 for API endpoints. This extends PR_7604_description to the UI render-config tabs, preventing users from viewing rendered configurations without explicit permission.

- Modified `ObjectRenderConfigView.has_permission()` to require both view and render_config permissions
- Added `remove_permissions()` test helper to remove permissions from existing ObjectPermission objects
- Added regression tests for Device and VirtualMachine render-config permission enforcement

The `render_config` permission action was introduced in #16681 for API endpoints. This extends PR_7604_description
to the UI render-config tabs, preventing users from viewing rendered configurations without explicit permission.
@jnovinger jnovinger requested review from a team and jeremystretch and removed request for a team December 12, 2025 19:24
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