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

    Function getAgentResourceAccess

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

      Returns the Access Modes explicitly granted to an Agent for the Resource associated with an ACL (Access ControlList).

      The function does not return:

      • Access Modes granted indirectly to the Agent through other ACL rules, e.g., public or group-specific permissions.
      • Access Modes granted to the Agent for the child Resources if the associated Resource is a Container (see [[getAgentDefaultAccess]] instead).

      Parameters

      • aclDataset: AclDataset

        The SolidDataset that contains ACL rules.

      • agent: string

        WebID of the Agent for which to retrieve what access it has to the Resource.

      Returns Access

      Access Modes that have been explicitly granted to an Agent for the Resource associated with an ACL SolidDataset.