Skip to content

PB-15775: Report what a revoke took away - #481

Merged
lalat-das merged 1 commit into
pb-15775-rcbfrom
pb-15775-revoke-report
Dec 6, 2026
Merged

lalat-das merged 1 commit into
pb-15775-rcbfrom
pb-15775-revoke-report

Conversation

@lalat-das

Copy link
Copy Markdown
Collaborator

Deleting a Delegation Rule revokes what it delegated, because a delegation lives on the rule. The response said nothing, so an action whose whole purpose is removing rights read the same whether it revoked a thousand resources or none.

  • Add revoked_delegate_count and revoked_resource_count to DelegationRuleDeleteResponse
  • Correct the message comment, which claimed the delete does NOT revoke what the rule delegated

What this PR does / why we need it:

Which issue(s) this PR fixes (optional)
Closes #

Special notes for your reviewer:

Deleting a Delegation Rule revokes what it delegated, because a
delegation lives on the rule. The response said nothing, so an action
whose whole purpose is removing rights read the same whether it
revoked a thousand resources or none.

- Add revoked_delegate_count and revoked_resource_count to
  DelegationRuleDeleteResponse
- Correct the message comment, which claimed the delete does NOT
  revoke what the rule delegated
@lalat-das
lalat-das merged commit 32d79b8 into pb-15775-rcb Dec 6, 2026
1 check passed
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.

1 participant