-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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-1721] Include limit collection creation/deletion in license file #3388
Merged
vincentsalucci
merged 54 commits into
master
from
ac/ac-1721/limit-collection-license-ffc
Dec 8, 2023
Merged
Changes from all commits
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
4f08039
[AC-1117] Add manage permission (#3126)
differsthecat cf78f12
[AC-1374] Limit collection creation/deletion to Owner/Admin (#3145)
vincentsalucci 78bdd51
Merge branch 'master' into feature/flexible-collections
vincentsalucci 2f45726
Merge branch 'master' into feature/flexible-collections
vincentsalucci d5da5bb
fix: merge conflict resolution
vincentsalucci e87c20c
Merge branch 'master' into feature/flexible-collections
vincentsalucci 5dc3ca8
[AC-1174] CollectionUser and CollectionGroup authorization handlers (…
shane-melton e8053e2
Fix improper merge conflict resolution
shane-melton 3dfd38c
Merge branch 'master' into feature/flexible-collections
vincentsalucci 3c9c8ac
Merge remote-tracking branch 'origin/master' into feature/flexible-co…
eliykat 4ac1b10
Merge branch 'master' into feature/flexible-collections
vincentsalucci 064a28c
fix: add permission check for collection management api, refs AC-1647…
vincentsalucci acd3997
Merge branch 'master' into feature/flexible-collections
vincentsalucci 34dfdc5
[AC-1125] Enforce org setting for creating/deleting collections (#3241)
vincentsalucci 9f5fec6
Merge remote-tracking branch 'origin/master' into feature/flexible-co…
eliykat ffa09d1
Merge branch 'master' into feature/flexible-collections
vincentsalucci f2acf1c
refactor: remove organizationId from CollectionBulkDeleteRequestModel…
vincentsalucci 2c7d02d
Merge branch 'master' into feature/flexible-collections
eliykat 5d431ad
[AC-1174] Bulk Collection Management (#3229)
shane-melton a3f554a
[AC-1646] Rename LimitCollectionCdOwnerAdmin column (#3300)
eliykat 30b91cd
Merge branch 'master' into feature/flexible-collections
eliykat dd10614
Merge branch 'master' into feature/flexible-collections
eliykat fbb7aa1
[AC-1666] Removed EditAnyCollection from Create/Delete permission che…
vincentsalucci 279d0cc
[AC-1669] Bug - Remove obsolete assignUserId from CollectionService.S…
vincentsalucci 0abd7c3
Merge branch 'master' into feature/flexible-collections
vincentsalucci fed3252
Merge remote-tracking branch 'origin/master' into feature/flexible-co…
eliykat 6bc38ac
Merge branch 'master' into feature/flexible-collections
eliykat 3b049a6
[AC-1713] [Flexible collections] Add feature flags to server (#3334)
eliykat ae18e76
Merge remote-tracking branch 'origin/master' into feature/flexible-co…
eliykat 52e723c
Add joint codeownership for auth handlers (#3346)
eliykat cd376be
Merge remote-tracking branch 'origin/master' into feature/flexible-co…
eliykat ad27f3d
[AC-1717] Update default values for LimitCollectionCreationDeletion (…
eliykat d91eb23
Merge branch 'master' into feature/flexible-collections
eliykat 9d5c5bc
Fix: add missing namespace after merging in master
eliykat 596e0df
Fix: add missing namespace after merging in master
eliykat 3a5c35b
[AC-1683] Fix DB migrations for new Manage permission (#3307)
shane-melton 0fe97d7
[AC-1648] [Flexible Collections] Bump migration scripts before featur…
eliykat c11ba10
Merge branch 'master' into feature/flexible-collections
shane-melton 8c78fc2
Merge remote-tracking branch 'origin/master' into feature/flexible-co…
eliykat 8b95d1b
feat: update OrganizationLicense (add property, update GetDataBytes, …
vincentsalucci e1004c6
feat: update Organization.UpdateFromLicense and SignUpAsync to use va…
vincentsalucci 87a3709
Merge branch 'master' into ac/ac-1721/limit-collection-license-ffc
vincentsalucci d94d6f9
feat: Add cloud-only access for PutCollectionManagement endpoint, ref…
vincentsalucci 7d668f4
Merge branch 'master' into ac/ac-1721/limit-collection-license-ffc
vincentsalucci c5fc542
Merge branch 'master' into ac/ac-1721/limit-collection-license-ffc
vincentsalucci ee83803
Merge branch 'master' into ac/ac-1721/limit-collection-license-ffc
vincentsalucci 3a0e236
feat: add feature flag to organization entity for updating from licen…
vincentsalucci 7c3db2e
Merge branch 'master' into ac/ac-1721/limit-collection-license-ffc
vincentsalucci 7a309da
feat: updated license fixture with new version (14), refs AC-1721
vincentsalucci 65dc89b
Merge branch 'master' into ac/ac-1721/limit-collection-license-ffc
vincentsalucci 845ad29
feat: disable validity checks for version 14, refs AC-1721
vincentsalucci 7599a71
fix: dotnet format, refs AC-1721
vincentsalucci 4d69a17
Merge branch 'master' into ac/ac-1721/limit-collection-license-ffc
vincentsalucci fced6cb
feat: default org license LimitCollectionCreationDeletion to true, re…
vincentsalucci File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
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.
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.
One problem with the current approach is that if the feature flag is off, the license file won't match the org object (because the create/update methods will choose to ignore the value in the license file). So there's a risk that validation will fail.
Given that it's not a billing-critical property, maybe we just exclude it from validation for now.We should exclude this from validation until FC is enabled everywhere.Alternatively, maybe we don't flag any of this logic and we just let the value be updated from the license file. After all, the actual logic will still be flagged on self-hosted. My concern there was that it'll be a latent change that will suddenly take effect after updating the self-hosted instance, and that could be unexpected.There's a bit to this so let's discuss in the next FC sync.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.
@vincentsalucci I think the conclusion from our sync was that my feedback here is still accurate. Amended the comment above.
Once #3474 is merged, you'll need to update the tests with this version of the license file. Happy to help with that if required.