Skip to content

fix: add componentrelease delete permission#501

Open
prdai wants to merge 1 commit into
openchoreo:release-v1.0from
prdai:fix/3061-missing-componentrelease-delete-action
Open

fix: add componentrelease delete permission#501
prdai wants to merge 1 commit into
openchoreo:release-v1.0from
prdai:fix/3061-missing-componentrelease-delete-action

Conversation

@prdai
Copy link
Copy Markdown

@prdai prdai commented Apr 28, 2026

Summary

  • add and export the component release delete permission
  • map openchoreo.release.delete to componentrelease:delete
  • include componentrelease:delete in the default role templates

Testing

  • yarn prettier --check plugins/openchoreo-common/src/index.ts plugins/openchoreo-common/src/permissions.ts plugins/openchoreo/src/components/AccessControl/RolesTab/RoleDialog.tsx
  • yarn tsc
  • yarn workspace @openchoreo/backstage-plugin-common build
  • yarn workspace @openchoreo/backstage-plugin build
  • manually verified local OpenChoreo exposes componentrelease:delete

Notes

Related to openchoreo/openchoreo#3061.

AI assistance was used while preparing this change; the patch was manually reviewed and re-verified multiple times before submission.

Co-authored-by: Codex <codex@openai.com>
Signed-off-by: prdai <prdai@users.noreply.github.com>
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 28, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 11973418-4fd8-416e-817a-0ea4c5a6f353

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

@binoyPeries binoyPeries left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @prdai , thank you for the PR. However, this should first be rectified in the main OC repo https://github.com/openchoreo/openchoreo/tree/release-v1.0.
Hint: we need to update the action registry to make this work. After doing that, please reevaluate the current PR that you have opened. Hope this helps :)

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