cassandra
cassandra copied to clipboard
HCD-23 Tighten up permissions on system keyspaces
What is the issue
Improves permissions security.
What does this PR fix and why was it fixed
Backports CASSANDRA-20090:
- Restrict which permissions can be granted on system keyspaces
- Ensure that GRANT... ON ALL KEYSPACES excludes system keyspaces
Checklist before you submit for review
- [x] Make sure there is a PR in the CNDB project updating the Converged Cassandra version
- [ ] Use
NoSpamLoggerfor log lines that may appear frequently in the logs - [x] Verify test results on Butler
- [ ] Test coverage for new/modified code is > 80%
- [x] Proper code formatting
- [x] Proper title for each commit staring with the project-issue number, like CNDB-1234
- [x] Each commit has a meaningful description
- [x] Each commit is not very long and contains related changes
- [x] Renames, moves and reformatting are in distinct commits
- [x] All new files should contain the DataStax copyright header instead of the Apache License one
Triggered #993
Quality Gate passed
Issues
4 New issues
0 Accepted issues
Measures
0 Security Hotspots
90.6% Coverage on New Code
0.0% Duplication on New Code
:x: Build ds-cassandra-pr-gate/PR-1667 rejected by Butler
1 new test failure(s) in 1 builds See build details here
Found 1 new test failures
| Test | Explanation | Branch history | Upstream history |
|---|---|---|---|
| o.a.c.u.b.BinLogTest.testTruncationReleasesLogS... | regression | :red_circle: | :large_blue_circle::large_blue_circle::large_blue_circle::large_blue_circle::large_blue_circle::large_blue_circle::large_blue_circle: |
Found 2 known test failures
On this one you'd need a CNDB PR imo to make sure we don't break anything there?
On this one you'd need a CNDB PR imo to make sure we don't break anything there?
done!
I've went through the CNDB failures and they don't seem to be related with these changes. I still need to rework the PR to uncomment the tests and accept the exception messages.