-
Hey, I am trying to figure how can I add permissions on various Collection through FireCMS. I want to create admin panel for which I can add users and their role from Firebase and when the user logins it is showing the collections based on their role. Its mentioned in the doc that their is a way to add these easily but I am not able to figure out how its done Please help @fgatti675 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @edden-app You can create a user collection where you define the roles:
Then use a custom authenticator to set your custom data in the auth controller, such as the roles for a user:
Then use those roles to build your collections based on the user:
|
Beta Was this translation helpful? Give feedback.
Hi @edden-app
You can create a user collection where you define the roles:
Then use a custom authenticator to set your custom data in the au…