Function
putResourceAuthorization
(workspace_id, target, resource, body, loading)
Source from the content-addressed store, hash-verified
| 43 | body: any, |
| 44 | loading?: Ref<boolean>, |
| 45 | ) => Promise<Result<any>> = (workspace_id, target, resource, body, loading) => { |
| 46 | return put( |
| 47 | `${prefix}/${workspace_id}/resource_user_permission/resource/${target}/resource/${resource}`, |
| 48 | body, |
| 49 | {}, |
| 50 | loading, |
| 51 | ) |
| 52 | } |
| 53 | |
| 54 | export default { |
| 55 | getResourceAuthorization, |
Callers
nothing calls this directly
Tested by
no test coverage detected