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.
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
[AC-1713] [Flexible collections] Add feature flags to server #3334
[AC-1713] [Flexible collections] Add feature flags to server #3334
Changes from all commits
f7d05e2
90db41a
fbb19cd
64ec62c
7aabe7c
8ebac62
1dad2af
343ab2d
d9b0f01
05192a9
ea4b282
60ea32b
98b60cf
a87236a
5bdeb7f
01518de
b2f4b66
fc68bf2
abb23da
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
The rest of the code in this file is largely the existing logic restored from
master
, although with theDeprecatedPermissionsGuard()
to ensure that it's not called accidentally. I also movedDeleteAnyCollection
here rather than putting it back inCurrentContext
where others might call it.It's a bit messy to keep it all here - I considered more ambitious refactors, such as making a legacy auth handler. However, this is a low-effort solution, it has fewer changes to existing code (so less regression risk), and we get to leverage the current unit tests.
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.
Good reasoning, I agree with this approach.