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

    Function getResourceAcl

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

      Returns the resource ACL (Access Control List) attached to a Resource.

      If the Resource has its resource ACL attached and is accessible by the user (see [[hasResourceAcl]]), the function returns the resource ACL. If the Resource does not have a resource ACL attached or is inaccessible by the user, the function returns null.

      Parameters

      • resource: WithAcl & WithResourceInfo & {} & { internal_acl: { resourceAcl: AclDataset } }

        A Resource with potentially an ACL attached.

      Returns AclDataset

      The resource ACL if available and null if not.

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

      Returns the resource ACL (Access Control List) attached to a Resource.

      If the Resource has its resource ACL attached and is accessible by the user (see [[hasResourceAcl]]), the function returns the resource ACL. If the Resource does not have a resource ACL attached or is inaccessible by the user, the function returns null.

      Parameters

      • resource: WithAcl & WithResourceInfo & {}

        A Resource with potentially an ACL attached.

      Returns null | AclDataset

      The resource ACL if available and null if not.