-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(snapshot): define resourceToPreview from resources changed. (#1453)
<!-- For Coveo Employees only. Fill this section. CDX-XXX --> ## Proposed changes The current algorithm doesn't take into account the resources the user can access. To solves that, we could either: - Query/cache what resources the user can access when we query it - Only do the expanded preview on resources that change. ## Breaking changes ## Testing - [ ] Unit Tests: Snapshot UTs are tangled, changing it will be difficult/require a rewrite. - [ ] Functionnal Tests: Corner-case, would require to create orgs without some access right or some stuff like that. - [ ] Manual Tests: In the only known affected environment (customer-owned), I managed to reproduce the issue the same customer reported. - Tested with the current version of the CLI, dev build from master: Crash - Tested with dev build from this branch: No Crash. --------- Co-authored-by: Olivier Lamothe <[email protected]>
- Loading branch information
1 parent
8488ce2
commit c4095f8
Showing
4 changed files
with
35 additions
and
12 deletions.
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