Read only for some users #15913
Replies: 1 comment 2 replies
-
Hey @mmorley0395, We no longer distinguish between read and write permissions at a granular level. Instead, you’ll likely need to use a combination of views and component-level design changes to control access.
Ensure views have the correct access settings. By default, most views inherit their table’s permissions, which are typically set to App Admin.
Form blocks also include a view-only toggle, which disables all interactivity. Additionally, you can disable CRUD functionality, causing the form to behave as a read-only table. If you were referring to the User Roles documentation, thank you! I've updated the page and removed outdated content. I hope this helps you! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I'm having trouble setting roles on a per table basis. I've found a few discussions here, that this was an intended change in V3.
I've made a few roles, let's just call them viewer and editor, with viewer inheriting from editor in the manage roles tool (that is, editor on right closer to admin, viewer on left, closer to app users, tethered together.
I've set my tables in the data tab to be accessible by the editor. I've set my screens to be accessible by the viewer. Based on the budibase university video, this should be adequate, but I'm still seeing a permissions issue when trying to view the screens as my viewer.
In general though, it looks like the documentation is a bit out of date on role management, so just wondering if there is still a way to set read/write based on table for various users.
The recommendations I've seen are to create a view and then set read/write there. This doesn't really work for a few reasons: I have 'not null' constraints on a few columns in my DB; budibase requires that those remain writable. Because of this, I can't really set user controls. I can set my least privileged roles to only read certain columns, but I can't control write access on those not-null columns or the display columns. Image below. Greyed out fields can't be toggled between read/write.
All this to say; I would love the ability to set read/write permissions per table per role, this seems like something that already did exist but does no longer?
Beta Was this translation helpful? Give feedback.
All reactions