Skip to content
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

Separate RBAC permission for pruning #6295

Open
sfc-gh-jelsesiy opened this issue May 21, 2021 · 2 comments
Open

Separate RBAC permission for pruning #6295

sfc-gh-jelsesiy opened this issue May 21, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@sfc-gh-jelsesiy
Copy link

Summary

It would be great to have a separate RBAC permission for pruning that can be granted on the application level.

Motivation

Today for auto prune to work, any application needs the delete permission. However, this also allows users to delete any resource manually via the Argo UI. Instead, pruning based on a git revision change should work without granting users the delete permission.

Proposal

p, role:staging-db-admins, applications, prune, staging-db-admins/*, allow

The issue is closely related to the concerns expressed in #3593

@magro
Copy link

magro commented Jun 5, 2024

Are there any plans to implement this?

@PrayagS
Copy link

PrayagS commented Sep 24, 2024

+1. It would be nice to have a separate permission for destructive sync operations like prune, replace, force, and so on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants