@inrupt/solid-client
    Preparing search index...

    Function saveAclFor

    • function is still experimental and subject to change, even in a non-major release.
      

      Saves the resource ACL for a Resource.

      Parameters

      • resource: WithAccessibleAcl

        The Resource to which the given resource ACL applies.

      • resourceAcl: SolidDataset

        An [[AclDataset]] whose ACL Rules will apply to resource.

      • Optionaloptions: { fetch?: (input: URL | RequestInfo, init?: RequestInit) => Promise<Response> }

        Optional parameter options.fetch: An alternative fetch function to make the HTTP request, compatible with the browser-native fetch API.

        • Optionalfetch?: (input: URL | RequestInfo, init?: RequestInit) => Promise<Response>

      Returns Promise<Readonly<{}> & WithResourceInfo & { internal_accessTo: string }>