Do not use this function in production code. For use in **unit tests** that require a Resource with an [[AccessControlResource]]. Copy
Do not use this function in production code. For use in **unit tests** that require a Resource with an [[AccessControlResource]].
Attaches an Access Control Resource to a given [[SolidDataset]] for use in unit tests; e.g., unit tests that call [[getPolicyUrlAll]].
The Resource to mock up with a new resource ACL.
The Access Control Resource to attach to the given Resource.
The input Resource with an empty resource ACL attached.
1.6.0
Attaches an Access Control Resource to a given [[SolidDataset]] for use in unit tests; e.g., unit tests that call [[getPolicyUrlAll]].