so im trying to make a setup where my user can create employess… and in that creation flow give them rights to what features they can acces in my application.
every feature i have maked a yes and no field for and i want that when you create the employee you mark in a checkbox if they should have acces to this feature or not… like this:
but what i cant figure out is that how do i change data in my create a thing workflow? i can only get it to give the preset value of the checkbox as checked or unchecked… but that doesnt change if the data field should be yes or no
hope someone out there have a easy fix for this and want to help out
you’d be better off creating an option set of permissions
then you can display the option set in a repeating group of checkboxes, and each check/uncheck just adds/removes the option from the list
then in privacy rules it’s a lot cleaner - current users option list contains X
on each add/remove of the option you’d store it in a state on the page/group, then on form submit you’d write the selected options to the create thing
hmm… that actually sounds easy…
but can you help tell how i add them to the list again?
create a state on the popup called permission… right?
and what after that?
sorry… still new using bubble… so trying to learn the process in it
** SOLVED **
thank you… @mitchbaylis … think i got the process now…
but when i try to display the option set in a repeating group i get all options displayed… like you see here:
cant figure what expression to use to seperate them in each colum…
@mitchbaylis
i think i now have setted it up so that it saves them on the state…
right now i have a field for my user for every permission… one field for case acces another one for task acces and so on… should i instead just make a field called permissions? and then save the list in that one field?