No Access Controls On Client Portal Templates/Relations Allows Unauthorized Access Of Client Data. #4757
GlitchWitch
started this conversation in
General
Replies: 1 comment 4 replies
-
Hi @GlitchWitch Thanks for reporting this. You're right - we RBAC doesn't currently support the ability to control access per record or per related records. It's simply read/write on the entire table. I wouldn't equate this to "rbac non-existent" though. It definitely raises the issue of a "Client Portal" template though - so thank you :) |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey there,
I'm testing out budibase to help me build a project management and client portal not too dissimilar from the Agency Client Portal Template. However when setting this up there does not appear to be any real access controls in place to prevent clients from viewing other clients data?
For example, if I add a new
Basic
user and set their client toClient2
they only see projects tagged withClient2
within the budibase application. However if they were to intercept the request made for this data they would see the following:If they change this to
"equal":{"Client":""},
they would have access to all projects across all clients.Am I missing something here? What can be done to prevent this? Certainly there must be a way to prevent this that wasn't included in this template or the documentation, it's a security and compliance nightmare. Not to mention it goes against the advertising on the template:
Steps to reproduce
Agency Projects
table and change the client toClient2
basic
permissions, addClient2
to the client field."equal":{"Client":""},
filter from the HTTP request.Edit: I tested this against the Client Portal for Accountants template and found the same thing:
Can we get an updated guide and templates that call out how to properly secure this kind of data?
Beta Was this translation helpful? Give feedback.
All reactions