Function useCanWrite

  • Checks if the Agent has the appropriate rights to edit this resource. If you don't explicitly pass an Agent URL, it will select the current Agent set by the store.

    Parameters

    • resource: Resource
    • Optional agent: string

    Returns [canWrite: boolean, message: string | undefined]

Generated using TypeDoc