X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/2f83fcd45b4b23db2bb5bb4afbe1e863ebd77ec6..df1ebc0e3184afd3fb66414651fc1aec713928bf:/services/workbench2/src/store/advanced-tab/advanced-tab.tsx diff --git a/services/workbench2/src/store/advanced-tab/advanced-tab.tsx b/services/workbench2/src/store/advanced-tab/advanced-tab.tsx index a495e89cad..fedd551864 100644 --- a/services/workbench2/src/store/advanced-tab/advanced-tab.tsx +++ b/services/workbench2/src/store/advanced-tab/advanced-tab.tsx @@ -467,7 +467,9 @@ const collectionApiResponse = (apiResponse: CollectionResource): JSX.Element => }; const groupRequestApiResponse = (apiResponse: ProjectResource): JSX.Element => { - const { uuid, ownerUuid, createdAt, modifiedAt, modifiedByClientUuid, modifiedByUserUuid, name, description, groupClass, trashAt, isTrashed, deleteAt, properties, writableBy } = apiResponse; + const { uuid, ownerUuid, createdAt, modifiedAt, modifiedByClientUuid, modifiedByUserUuid, name, + description, groupClass, trashAt, isTrashed, deleteAt, properties, + canWrite, canManage } = apiResponse; const response = ` "uuid": "${uuid}", "owner_uuid": "${ownerUuid}", @@ -482,7 +484,8 @@ const groupRequestApiResponse = (apiResponse: ProjectResource): JSX.Element => { "is_trashed": ${stringify(isTrashed)}, "delete_at": ${stringify(deleteAt)}, "properties": ${stringifyObject(properties)}, -"writable_by": ${stringifyObject(writableBy)}`; +"can_write": ${stringify(canWrite)}, +"can_manage": ${stringify(canManage)}`; return {'{'} {response} {'\n'} {'}'}; };