-
-
Notifications
You must be signed in to change notification settings - Fork 617
Open
Labels
Description
Bug description
Due to PR #14254, Bard fields throw a "This action is unauthorized" error in the entry link selector for users with restricted collection access.
If at least one collection is not visible to a specific user role, editors may no longer be able to select any entries at all in the Bard link selector, even if other allowed collections should still be available.
As an alternative it is possible to explicitly restrict the collections shown in each Bard field but this is not a practical workaround, because it would require maintaining separate Bard field configurations for different user roles.
How to reproduce
- Create two collections.
- Create a user role that has access to one collection but not the other.
- Add a Bard field to a blueprint and use the link selector.
- Do not explicitly limit the Bard field to only allowed collections.
- Log in as a user with the restricted role.
- Open the Bard link selector and try to select an entry.
Logs
Environment
5.73.15
Installation
Fresh statamic/statamic site via CLI
Additional details
Probably this is also an issue in 6.x but I've not tested this.
Reactions are currently unavailable