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

refactor: rename TopicAccessValidator to KsqlAuthorizationValidator #3265

Merged
merged 1 commit into from
Aug 24, 2019

Conversation

spena
Copy link
Member

@spena spena commented Aug 23, 2019

Description

This PR renames the TopicAccessValidator to KsqlAuthorizationValidator (including subclases and tests).

This will be used for SchemaRegistry permisisons checks in a follow-up PR, so the new name makes more sense which will check authorization for topics and schemas.

More refactoring is done here by moving the classes to the ksql-engine/.../security directory.

PR #3261 depends from this class.

Testing done

Describe the testing strategy. Unit and integration tests are expected for any behavior changes.

Reviewer checklist

  • Ensure docs are updated if necessary. (eg. if a user visible feature is being added or changed).
  • Ensure relevant issues are linked (description should include text like "Fixes #")

@spena spena requested a review from a team August 23, 2019 19:04
@spena spena self-assigned this Aug 23, 2019
@spena spena changed the title refactor: rename TopicAccessValidator for StatementPermissionsValidator refactor: rename TopicAccessValidator to StatementPermissionsValidator Aug 23, 2019
stevenpyzhang
stevenpyzhang approved these changes Aug 23, 2019
@spena spena force-pushed the rename_topic_access_validator branch from 4a7a639 to e4fb956 Compare August 24, 2019 17:07
The new class name will be used to validate topic and SR schema
authorization. Also, it moves the class to the ksq-engine/.../security
directory.
@spena spena force-pushed the rename_topic_access_validator branch from e4fb956 to 78fbc69 Compare August 24, 2019 21:52
@spena spena changed the title refactor: rename TopicAccessValidator to StatementPermissionsValidator refactor: rename TopicAccessValidator to KsqlAuthorizationValidator Aug 24, 2019
@spena spena merged commit b252d53 into confluentinc:master Aug 24, 2019
@spena spena deleted the rename_topic_access_validator branch August 24, 2019 23:04
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.

2 participants