-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Prevent LOCK/UNLOCK methods from public endpoint #34351
Conversation
might need additional acceptance test changes |
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.
Code looks good. See what acceptance tests now fail and adjust those for the changed behavior.
Codecov Report
@@ Coverage Diff @@
## master #34351 +/- ##
============================================
+ Coverage 64.76% 64.76% +<.01%
- Complexity 18368 18370 +2
============================================
Files 1199 1199
Lines 69551 69555 +4
Branches 1281 1281
============================================
+ Hits 45046 45050 +4
Misses 24132 24132
Partials 373 373
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #34351 +/- ##
============================================
+ Coverage 64.76% 64.76% +<.01%
- Complexity 18368 18370 +2
============================================
Files 1199 1199
Lines 69551 69555 +4
Branches 1281 1281
============================================
+ Hits 45046 45050 +4
Misses 24132 24132
Partials 373 373
Continue to review full report at Codecov.
|
I've adjusted the acceptance tests, let's see. I've removed most of the tests by public. @individual-it sorry for losing your hard work on all these cases. If we ever bring this back we can restore from this commit. Only two tests remain to check that public cannot lock or unlock. |
70cac25
to
d57b6fd
Compare
removed even more obsolete tests, squashed |
added a note in #34222 (comment) so we can remember that there are tests we can recover once we address federation with locking |
And check that public cannot lock or unlock at all
d57b6fd
to
7a66731
Compare
annnnd one last deletion, squashed. CI should pass now, then @individual-it @phil-davis can review the test changes |
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.
@PVince81 reviewed the deleted tests, they look good ;-)
Backport |
Description
Prevent LOCK/UNLOCK methods from public endpoint
Related Issue
Fixes #34347
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist:
Open tasks: