SREP-1333: Implement list all scripts without permission filtering by MateSaary · Pull Request #786 · openshift/backplane-cli
What type of PR is this?
- fix (Bug Fix)
- feat (New Feature)
- docs (Documentation)
- test (Test Coverage)
- chore (Clean Up / Maintenance Tasks)
- other (Anything that doesn't fit the above)
What this PR does / Why we need it?
Implements a new --all flag for the script list command that allows listing all available scripts without permission filtering. This feature enables users to see the complete catalog of scripts available, along with their allowed groups, providing better visibility into script availability across different user roles.
The implementation is supported by the new GetAllScriptsByCluster API endpoint and enhances the UI to display allowed groups when the --all flag is used.
Which Jira/Github issue(s) does this PR fix?
- Closes SREP-1333
Special notes for your reviewer
Unit Test Coverage
Guidelines
- If it's a new sub-command or new function to an existing sub-command, please cover at least 50% of the code
- If it's a bug fix for an existing sub-command, please cover 70% of the code
Test coverage checks
- Added unit tests
- Created jira card to add unit test
- This PR may not need unit tests
Pre-checks (if applicable)
- Ran unit tests locally
- Validated the changes in a cluster
- Included documentation changes with PR
- Backward compatible
/label tide/merge-method-squash