mon/MonCap: check profile_grants too while checking caps#37190
Merged
batrick merged 1 commit intoceph:masterfrom Sep 19, 2020
Merged
mon/MonCap: check profile_grants too while checking caps#37190batrick merged 1 commit intoceph:masterfrom
batrick merged 1 commit intoceph:masterfrom
Conversation
Contributor
Author
|
From vstart cluster - |
batrick
requested changes
Sep 16, 2020
227890a to
15d3108
Compare
kotreshhr
reviewed
Sep 16, 2020
0e1abec to
0b0b609
Compare
ajarr
reviewed
Sep 16, 2020
tchaikov
reviewed
Sep 17, 2020
0b0b609 to
c04ed57
Compare
When checking if a certain fs subcommand can and should be executed in FSCommands.cc, check permissions in "profile_grants" too when the caps for that entity contains a cap profile. Fixes: https://tracker.ceph.com/issues/47423 Signed-off-by: Rishabh Dave <ridave@redhat.com>
c04ed57 to
e7a721f
Compare
Contributor
Author
|
FYI: I just updated this PR branch. (Since you all might have pushed a copy of this PR branch to ceph-ci) EDIT: |
Contributor
Author
|
test_nfs with teuth passed - https://pulpito.ceph.com/rishabh-2020-09-18_10:22:27-rados-wip-rishabh-fs-fix-47423-distro-basic-smithi/ |
Contributor
Author
|
jenkins test api |
Contributor
Author
|
Link to last ceph API tests - https://jenkins.ceph.com/job/ceph-api/3321/ |
batrick
approved these changes
Sep 19, 2020
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When checking if a certain fs subcommand can and should be executed in
FSCommands.cc, check permissions in "profile_grants" too when the caps
for that entity contains a cap profile.
Fixes: https://tracker.ceph.com/issues/47423
Related PR: #32581
Checklist
Show available Jenkins commands
jenkins retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume tox