docs: proposal to introduce 'Prune/Delete=confirm' sync option value
The proposal documents a new sync option that allows end user to manually approve resource deletion while application syncing/deletion.
:x: Preview Environment deleted from Bunnyshell
Available commands (reply to this comment):
- :rocket:
/bns:deployto deploy the environment
:x: Preview Environment deleted from Bunnyshell
Available commands (reply to this comment):
- :rocket:
/bns:deployto deploy the environment
Thank you for review! PTAL
@jannfis , I agree it won't be needed to approve resources individually. The only use case I can imagine something like: CRD deletions must be approved by a platform team.
The main motivation to keep it at a resource level is to avoid introducing more RBAC changes and re-use resource-level actions. I expect that in real life, most apps would have one or two resources so app level vs resource level won't make a big difference. WDYT?
The main motivation to keep it at a resource level is to avoid introducing more RBAC changes and re-use resource-level actions
I think in case of the approval would be on Application level, everyone with either edit or delete RBAC permissions for an Application resource would be allowed to approve these deletions. So there would be no need for RBAC changes in that scenario too. Or was your intention to separate those concerns?
@jannfis , ah - good point. I did not intend to have separate permission to approve; I just did not think we could also re-use app edit permission. Updating proposal
The main motivation to keep it at a resource level is to avoid introducing more RBAC changes and re-use resource-level actions
I think in case of the approval would be on Application level, everyone with either edit or delete RBAC permissions for an Application resource would be allowed to approve these deletions. So there would be no need for RBAC changes in that scenario too. Or was your intention to separate those concerns?
It is a good point.
@alexmt If you have a minute to resolve lingering conversations I think we can merge. @crenshaw-dev is out on vacation for the next 3 weeks and I think we have enough eyes on this that we don't have to wait additional time.