How can I temporarily elevate a user's access in Bubble without code?
#1
I’ve been building a client portal in Bubble and hit a wall with the permissions. I set up a basic role-based system, but now I need certain user actions to temporarily elevate their access within a specific data type, and I can’t figure out if that’s even possible without writing custom code.
Reply
#2
Ive seen teams do this with a simple field on the User like elevated_until and a privacy rule that checks it. If elevated_until is in the future, you get access to that data type. It hooks up to a backend workflow to set or clear the field when approval happens, and you dont write code for permissions itself.
Reply
#3
I tried a similar approach and it blew up pretty quick. I duplicated the data type for the elevated view and kept a flag, but the privacy rules started fighting with the data relationships and it felt fragile. You end up syncing a bunch of fields and it wasnt worth it in the end.
Reply
#4
Is the real snag maybe that you’re trying to lift a broader bucket of actions instead of just a specific field? I keep wondering if the problem is the concept of temporary elevation rather than where the permission check happens.
Reply
#5
I toyed with a guestish path, like a separate temporary user record created by an API workflow, but it felt heavy and confusing for a client portal. Ended up shelving it for now and focusing on hardening the normal roles, then re-evaluating later.
Reply


[-]
Quick Reply
Message
Type your reply to this message here.

Image Verification
Please enter the text contained within the image into the text box below it. This process is used to prevent automated spam bots.
Image Verification
(case insensitive)

Forum Jump: