This function is still experimental and subject to change, even in a non-major release.
Modifies the resource ACL (Access Control List) to set the Access Modes for the given Agent.
Specifically, the function returns a new resource ACL initialised with the given ACL and
new rules for the Agent's access.
If rules for Agent's access already exist in the given ACL, in the returned ACL,
they are replaced by the new rules.
This function does not modify:
Access Modes granted indirectly to Agents through other ACL rules, e.g., public or group-specific permissions.
Access Modes granted to Agents for the child Resources if the associated Resource is a Container.
Modifies the resource ACL (Access Control List) to set the Access Modes for the given Agent. Specifically, the function returns a new resource ACL initialised with the given ACL and new rules for the Agent's access.
If rules for Agent's access already exist in the given ACL, in the returned ACL, they are replaced by the new rules.
This function does not modify: