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

    Function setAllowModes

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

      Given a [[Policy]] and a set of [[AccessModes]], return a new Policy based on the given Policy, but with the given Access Modes allowed on it.

      Type Parameters

      Parameters

      • policy: P

        The Policy on which to set the modes to allow.

      • modes: AccessModes

        Modes to allow for this Policy.

      Returns P

      Not released yet.