-
Notifications
You must be signed in to change notification settings - Fork 619
HDDS-1796. Add admin access check for write opertaions in SCMClientProtocolServer and SCMBlockProtocolServer. #5203
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
Changes from 17 commits
2cad7af
08ee455
ff4b93f
24be0da
b4f8d7e
5a9a9e4
b4ebf91
a2af114
adfa985
e44f89f
e656507
8118063
9d55be2
78cb77b
6a9ef65
3c7ba63
ee5fc9e
6875544
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -56,7 +56,7 @@ Verify Bucket ACL | |
|
|
||
| Can follow link with read access | ||
| Execute kdestroy | ||
| Run Keyword Kinit test user testuser2 testuser2.keytab | ||
| Run Keyword Kinit test user testuser testuser.keytab | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this still needed now?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes removed. |
||
| ${result} = Execute And Ignore Error ozone sh key list ${target}/readable-link | ||
| Should Contain ${result} key-in-readable-bucket | ||
| ${result} = Execute And Ignore Error ozone sh key list ${target}/readable-link2 | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -219,6 +219,8 @@ Test native authorizer | |
| Should contain ${result} PERMISSION_DENIED | ||
| ${result} = Execute And Ignore Error ozone sh key list ${protocol}${server}/${volume}/bb1 | ||
| Should contain ${result} PERMISSION_DENIED | ||
| Execute kdestroy | ||
| Run Keyword Kinit test user testuser2 testuser2.keytab | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this still needed now?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Removed. |
||
| ${result} = Execute And Ignore Error ozone sh volume addacl ${protocol}${server}/${volume} -a user:testuser2:xy | ||
| Should contain ${result} PERMISSION_DENIED User testuser2 doesn't have WRITE_ACL permission to access volume | ||
| Execute kdestroy | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This check can be removed too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.