-
Notifications
You must be signed in to change notification settings - Fork 211
test(e2e): add orchestrator RBAC e2e tests #4009
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
test(e2e): add orchestrator RBAC e2e tests #4009
Conversation
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
/ok-to-test |
|
/test e2e-ocp-helm |
|
The image is available at: /test e2e-ocp-helm |
Add comprehensive RBAC end-to-end tests for the orchestrator plugin with role-based access control validation including: - Global workflow access (read/write, read-only, denied) - Individual workflow access controls - Workflow instance initiator isolation - Admin override capabilities for cross-user instance access Cherry-picked from commit a6af1b0 (release-1.7 branch). Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Re-enable the RBAC API validation test (previously test.fixme) with filtering logic to prevent test interference during parallel execution. Changes: - Add Role import from rbac-api-structures - Filter out dynamically created workflow roles/policies matching /^role:default\/workflow/i pattern before validation - Change validation from exact match to "expected roles exist" check This allows the RBAC API test to run alongside orchestrator RBAC tests which dynamically create workflowUser/workflowAdmin roles. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
/test e2e-ocp-operator-nightly |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
|
/test e2e-ocp-operator-nightly |
|
/retest-required |
|
The image is available at: /test e2e-ocp-helm |
|
@chadcrum: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |



Summary
Add comprehensive RBAC end-to-end tests for the orchestrator plugin, cherry-picked and adapted from release-1.7 branch (commit a6af1b0).
Changes
New file:
orchestrator-rbac.spec.ts(+1,557 lines)Modified:
rbac.spec.ts(+61/-9 lines)test.fixme)Test Coverage
orchestrator.workflowread + updateorchestrator.workflowread, update deniedTechnical Notes
test.describe.serialfor proper sequencing of role creation → verification → UI testing → cleanupafterAllcleanup to remove created roles/policies/^role:default\/workflow/ito exclude test-created roles from RBAC API validationTest Plan
showcase-rbacandshowcase-operator-rbacprojects🤖 Generated with Claude Code
Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com