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

    Function hasFallbackAcl

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

      Verifies whether the given Resource has a fallback ACL (Access Control List) attached.

      A fallback ACL for a Resource is inherited from the Resource's parent Container (or another of its ancestor Containers) and applies if the Resource does not have its own resource ACL.

      The [[hasFallbackAcl]] function checks that:

      • a given Resource has a fallback ACL attached, and
      • the user calling [[hasFallbackAcl]] has Control access to the Container from which the Resource inherits its ACL.

      To retrieve a Resource with its ACLs, see [[getSolidDatasetWithAcl]].

      Type Parameters

      • Resource extends WithAcl

      Parameters

      • resource: Resource

        A [[SolidDataset]] that might have a fallback ACL attached.

      Returns resource is Resource & WithAcl & { internal_acl: { fallbackAcl: AclDataset } }

      true if the Resource has a fallback ACL attached that is accessible to the user.