invenio-app-rdm
invenio-app-rdm copied to clipboard
Share link: "Can view drafts and restricted files of all versions of this record." not working
Package version (if known): v12.0.5
Describe the bug
When sharing a link with a "people", and using the "Can preview drafts" (Can view drafts and restricted files of all versions of this record.), the people gets a notification, but gets a "page not found" when clicking on the link in the email.
Steps to Reproduce
- Go to saved record draft.
- Click on "Share"
- Click on "Add people"
- Select a people and grant access "Can preview drafts".
- People gets an email with a link
- People clicks on the link
- Gets "page not found"
Expected behavior
People is allowed to see the page.
is this draft part of a community?
Steps to Reproduce says no, so no community involved.