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

    Function createAclFromFallbackAcl

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

      Creates a resource ACL (Access Control List), initialised from the fallback ACL inherited from the given Resource's Container (or another of its ancestor Containers). That is, the new ACL has the same rules/entries as the fallback ACL that currently applies to the Resource.

      Parameters

      • resource: WithAcl & { internal_acl: { fallbackAcl: AclDataset } } & WithResourceInfo & {} & {
            internal_resourceInfo: { aclUrl: string };
        }

        A Resource without its own resource ACL (see [[hasResourceAcl]]) but with an accessible fallback ACL (see [[hasFallbackAcl]]).

      Returns AclDataset

      A resource ACL initialised with the rules/entries from the Resource's fallback ACL.