Budibase / budibase

Low code platform for building business apps and workflows in minutes. Supports PostgreSQL, MySQL, MSSQL, MongoDB, Rest API, Docker, K8s, and more 🚀
https://budibase.com
Other
21.21k stars 1.43k forks source link

Prevent the users read only Budibase table from being updated via an update form #13994

Open ConorWebb96 opened 1 week ago

ConorWebb96 commented 1 week ago

Checklist

Hosting

Describe the bug Prevent the selection of the user's table for forms within the design screens. Or prevent the ability from being able to save changes to the users table in the backend via the update forms.

To Reproduce Steps to reproduce the behavior:

  1. Create a new app
  2. Add a form block with the users table as the selection
  3. Change the form from create to update
  4. Add the current user _id binding to the form
  5. Click preview
  6. Amend some details
  7. See that the user table is updated.

Expected behavior Either you shouldn't be able to add the users table as a form option, or the backend should error out saying you can't edit this table.

Screenshots Screenshot_2024-06-21_at_09 05 10

linear[bot] commented 1 week ago

BUDI-8386 Prevent the users read only Budibase table from being updated via an update form