Package version (if known): V12rc2
Describe the bug
The share links feature on a restricted record does not work for both unauthenticated and authenticated users.
Steps to Reproduce
- Create a restricted record in a restricted community and publish it / or save the draft.
- Go to share -> links -> create a new link -> copy the link.
- Open an incognito window and paste the link -> see permission required.
- Login as a new user and try to open the link -> still see permission required.
Expected behavior
The link should open the restricted record for users with the correct permissions.