User does not have permission error shows up due to relationship column being set to read only on a view. #15606
Labels
backend
Involves some work on the backend
bb-data-ui
bug
Something isn't working
env - production
Bug found in production
firestorm
Data/Infra/Revenue Team
views
Checklist
Hosting
Describe the bug
A relationship field set to read-only (via column restriction on the view) causes an error: "User does not have permission." When viewing with a custom role, a 403 error in the network tab occurs when a user with that role accesses the screen.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
If Role X has read access to View/Table Y, which includes a relationship column (at least readable) linking to Table Z, then X must be able to fetch Z's schema.
No error should be thrown whenever viewing the forms attached to the view. The form field is read-only, but a value should be shown if you use a read/edit form block.
Screenshots

View as a manager
The form that causes the error: You can see the relationship is blank on an update type.

Network error being thrown



App Export
relationship-view-issue-1740394533671.tar.gz
The text was updated successfully, but these errors were encountered: