jeg har lavet admin role i min app og det virker også
Når en alm bruger går ind i sin liste så ser han kun sine oprettet
og admin ser dem alle, men mit spørgsmål lyder på kan jeg sætte admin role på
den knap der bruges til at oprette en tråd?
se billede
I må meget gerne svare på Engelsk, får når i nævner evt. funktion eller lign jeg skal bruge så står det jo på engelsk i glide så det vil det gøre nemmere for mig når jeg skal følge jeres råd.
"I got it to work like this, see the picture. Please tell me if this is the right way to do it. I’ll also show how I’ve set it up in my database. If there’s a smarter or easier way, please let me know.
I would say that there isn’t necessarily a right or wrong way to set that up, it’s more like having a specified solution for your app set up. The way you’ve done it appears fine, the only issue I could see you running into is if you ever need more than 2 user types allowed while also having specific conditions based on the data source…
At that point, the “Or” condition wouldn’t work anymore, but you should be good otherwise.
Also, it might be a good idea to make the “Roles” column a Row Owner.
yes you say something i completely forgot to do. to set Roles to Row Owner…
thanks for reminding me of that.
1 Like