Daniel Habibi
ย ยทย Low-Code Freelancer

How to build an app with multiple user types in FlutterFlow | Role-Based Access Control (RBAC)

Hey FF fam!

I made this quick video because I see this question asked all the time.

"How do I create an app in FlutterFlow with multiple user types?"

This is known as Role-Based Access Control (RBAC).

This is a short and sweet video to help give you a mental model on how to approach this. If you would like to see how it is done on the backend, please let me know in the comments!

A very important note that I forgot to mention:

Best practice when handling roles is not managing them from UI, but every feature call or request should be checked for roles and permission on the server side. Also, UI role management is great for user experience!

For example, I'm using Xano for this project, and I'm encoding the user's role in their auth token (JWT). So, I'm doing UI role management, which provides great UX and efficiency, but also in the backend, ensuring each role can access only what they are allowed to!

https://youtu.be/iigUzZ9Oxiw

3
2 replies