20829: Migrate to canWrite and canManage for permission checks
authorPeter Amstutz <peter.amstutz@curii.com>
Tue, 22 Aug 2023 18:16:29 +0000 (14:16 -0400)
committerPeter Amstutz <peter.amstutz@curii.com>
Tue, 22 Aug 2023 18:16:29 +0000 (14:16 -0400)
commit017ab19b42969ed662d11291d399294c8f231a4e
tree41da32f87bfe72c9e62899203e84fd2dafd7631c
parentc48418079ce922e7f0710b552a5f13280dd1e4b5
20829: Migrate to canWrite and canManage for permission checks

Replace use of writableBy with canWrite and canManage, and remove
writableBy from workbench 2 entirely.

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>
17 files changed:
src/models/group.ts
src/models/test-utils.ts
src/models/user.ts
src/services/auth-service/auth-service.ts
src/services/user-service/user-service.ts
src/store/advanced-tab/advanced-tab.tsx
src/store/context-menu/context-menu-actions.test.ts
src/store/resources/resources.test.ts
src/store/resources/resources.ts
src/store/run-process-panel/run-process-panel-actions.ts
src/store/tree-picker/tree-picker-actions.ts
src/store/workflow-panel/workflow-panel-actions.ts
src/views-components/data-explorer/renderers.tsx
src/views-components/side-panel-button/side-panel-button.tsx
src/views/collection-panel/collection-panel.tsx
src/views/group-details-panel/group-details-panel.tsx
src/views/run-process-panel/inputs/project-input.tsx