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

Use Enum and check permission in getTopics api #2222

Merged
merged 4 commits into from
Jan 19, 2024

Conversation

aindriu-aiven
Copy link
Contributor

Add the permission check and also use an enum to get the topics with producers or consumer acls you have setup.

Linked issue

Resolves: #2216

What kind of change does this PR introduce?

  • Bug fix
  • New feature
  • Refactor
  • Docs update
  • CI update

What is the current behavior?

Uses a string

What is the new behavior?

Uses an enum

Other information

Additional changes, explanations of the approach taken, unresolved issues, necessary follow ups, etc.

Requirements (all must be checked before review)

  • The pull request title follows our guidelines
  • Tests for the changes have been added (if relevant)
  • The latest changes from the main branch have been pulled
  • pnpm lint has been run successfully

…producers or consumer acls you have setup.

Signed-off-by: Aindriu Lavelle <[email protected]>
muralibasani
muralibasani previously approved these changes Jan 19, 2024
Copy link
Contributor

@muralibasani muralibasani left a comment

Choose a reason for hiding this comment

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

LGTM

Signed-off-by: Mirjam Aulbach <[email protected]>
Signed-off-by: Mirjam Aulbach <[email protected]>
Copy link
Contributor

@mathieu-anderson mathieu-anderson left a comment

Choose a reason for hiding this comment

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

LGTM!

@aindriu-aiven aindriu-aiven merged commit 1ee8703 into main Jan 19, 2024
30 checks passed
@aindriu-aiven aindriu-aiven deleted the issue-2216--use-enum branch January 19, 2024 15:01
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.

refactor: Create shared enum for ACL type
4 participants