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

[FEATURE] Add authorization to produce and consume #671

Conversation

Demogorgon314
Copy link
Member

@Demogorgon314 Demogorgon314 commented Aug 23, 2021

Motivation

#236 Add authorization to produce and consumer

Modifications

  • Add authorization to handleProduceRequest
  • Add authorization to handleOffsetFetchRequest
  • Add authorization to handleListOffsetRequest
  • Add authorization to MessageFetchContext#handleFetch
  • Add new test units for produce or consume permissions
  • Add new test units for topic level permissions

@Demogorgon314 Demogorgon314 added the type/feature Indicates new functionality label Aug 23, 2021
@Demogorgon314 Demogorgon314 self-assigned this Aug 23, 2021
@Demogorgon314 Demogorgon314 changed the title [WIP][FEATURE] Add authorization to produce and consume [FEATURE] Add authorization to produce and consume Aug 24, 2021
@Demogorgon314 Demogorgon314 changed the title [FEATURE] Add authorization to produce and consume [WIP][FEATURE] Add authorization to produce and consume Aug 24, 2021
@Demogorgon314 Demogorgon314 force-pushed the add-authorization-to-produce-and-consume branch from 6619e87 to 8448201 Compare August 24, 2021 10:18
@Demogorgon314 Demogorgon314 changed the title [WIP][FEATURE] Add authorization to produce and consume [FEATURE] Add authorization to produce and consume Aug 24, 2021
@BewareMyPower
Copy link
Collaborator

I've done the review for code under kafka-impl/ and left some comments, PTAL first.

@BewareMyPower BewareMyPower merged commit c3ca838 into streamnative:master Aug 26, 2021
BewareMyPower pushed a commit that referenced this pull request Aug 26, 2021
## Motivation
#236 Add authorization to produce and consumer

## Modifications
* Add authorization to `handleProduceRequest`
* Add authorization to `handleOffsetFetchRequest`
* Add authorization to `handleListOffsetRequest`
* Add authorization to `MessageFetchContext#handleFetch`
* Add new test units for produce or consume permissions
* Add new test units for topic level permissions
@BewareMyPower BewareMyPower mentioned this pull request Aug 27, 2021
9 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type/feature Indicates new functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants