-
- Downloads
Skip fetching collection permissions graph on update (#45561)
* updates the fe to skip refetching the graph when updating the collection graph, adds tests
* Moves the skip_graph flag to be part of the body.
- the FE tooling makes it awkward for PUTs to include query params
* fixes failing unit tests
* pr feedback
---------
Co-authored-by:
Bryan Maass <bryan.maass@gmail.com>
Showing
- e2e/test/scenarios/native/snippets.cy.spec.js 6 additions, 6 deletionse2e/test/scenarios/native/snippets.cy.spec.js
- e2e/test/scenarios/permissions/admin-permissions.cy.spec.js 82 additions, 26 deletionse2e/test/scenarios/permissions/admin-permissions.cy.spec.js
- frontend/src/metabase-types/api/permissions.ts 1 addition, 1 deletionfrontend/src/metabase-types/api/permissions.ts
- frontend/src/metabase/admin/permissions/pages/CollectionPermissionsPage/tests/common.unit.spec.tsx 2 additions, 2 deletions...ages/CollectionPermissionsPage/tests/common.unit.spec.tsx
- frontend/src/metabase/admin/permissions/pages/CollectionPermissionsPage/tests/enterprise.unit.spec.tsx 1 addition, 1 deletion.../CollectionPermissionsPage/tests/enterprise.unit.spec.tsx
- frontend/src/metabase/admin/permissions/permissions.js 20 additions, 4 deletionsfrontend/src/metabase/admin/permissions/permissions.js
- frontend/src/metabase/admin/permissions/utils/graph/partial-updates.ts 17 additions, 1 deletion...metabase/admin/permissions/utils/graph/partial-updates.ts
- frontend/src/metabase/admin/permissions/utils/graph/partial-updates.unit.spec.ts 23 additions, 0 deletions...dmin/permissions/utils/graph/partial-updates.unit.spec.ts
- src/metabase/api/collection.clj 1 addition, 2 deletionssrc/metabase/api/collection.clj
- test/metabase/api/collection_test.clj 4 additions, 2 deletionstest/metabase/api/collection_test.clj
Please register or sign in to comment