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

feat(security): Use Apache Ranger for access control(1/n) #1360

Merged
merged 5 commits into from
Feb 28, 2023

Conversation

WHBANG
Copy link
Contributor

@WHBANG WHBANG commented Feb 22, 2023

What problem does this PR solve?

#1054

This patch aim to define ranger policy:

  • Define the ranger policy data structure.
  • Realized the judgment logic function when performing ACL with different priorities.
  • Add some unit test for test

src/runtime/ranger/ranger_resource_policy.h Outdated Show resolved Hide resolved
src/runtime/test/ranger_resource_policy_test.cpp Outdated Show resolved Hide resolved
src/runtime/test/ranger_resource_policy_test.cpp Outdated Show resolved Hide resolved
src/runtime/ranger/ranger_resource_policy.h Outdated Show resolved Hide resolved
src/runtime/ranger/ranger_resource_policy.h Outdated Show resolved Hide resolved
src/runtime/test/ranger_resource_policy_test.cpp Outdated Show resolved Hide resolved
src/runtime/ranger/ranger_resource_policy.h Outdated Show resolved Hide resolved
src/runtime/ranger/ranger_resource_policy.h Outdated Show resolved Hide resolved
src/runtime/ranger/ranger_resource_policy.h Outdated Show resolved Hide resolved
src/runtime/ranger/ranger_resource_policy.cpp Outdated Show resolved Hide resolved
src/runtime/ranger/ranger_resource_policy.h Outdated Show resolved Hide resolved
acelyc111
acelyc111 previously approved these changes Feb 27, 2023
Copy link
Member

@acelyc111 acelyc111 left a comment

Choose a reason for hiding this comment

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

LGTM, thanks to your contribution!

@acelyc111 acelyc111 changed the title feat(security): Use Apache Ranger for access control(1/8) feat(security): Use Apache Ranger for access control(1/n) Feb 27, 2023
src/runtime/ranger/ranger_resource_policy.h Outdated Show resolved Hide resolved
src/runtime/ranger/ranger_resource_policy.h Outdated Show resolved Hide resolved
src/runtime/ranger/ranger_resource_policy.h Outdated Show resolved Hide resolved
src/runtime/ranger/ranger_resource_policy.h Outdated Show resolved Hide resolved
src/runtime/ranger/ranger_resource_policy.cpp Outdated Show resolved Hide resolved
@acelyc111 acelyc111 merged commit cd01040 into apache:master Feb 28, 2023
@empiredan empiredan mentioned this pull request Aug 17, 2023
GehaFearless pushed a commit to GehaFearless/incubator-pegasus that referenced this pull request Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants