Skip to content
This repository has been archived by the owner on Apr 1, 2024. It is now read-only.

[improve][broker] Add fine-grain authorization to retention admin API #6039

Conversation

mattisonchao
Copy link
Member

Motivation

Add fine-grain authorization to retention admin API so that it can be controlled at a more fine-grain level.

Modifications

  • Update getRetention, add PolicyName.RETENTION with READ check
  • Update setRetention & removeRetention, add PolicyName.RETENTION with WRITE check

Verifying this change

  • Make sure that the change passes the CI checks.

Does this pull request potentially affect one of the following parts:

  • The REST endpoints

Documentation

  • doc-not-needed

Add fine-grain authorization to retention admin API so that it can be controlled at a more fine-grain level.

- Update getRetention, add PolicyName.RETENTION with READ check
- Update setRetention & removeRetention, add PolicyName.RETENTION with WRITE check
@mattisonchao mattisonchao self-assigned this Feb 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant