https://discord.gg/botpress logo
Urgent! How to manage user access to sensitive dat...
# 🤝help
f
I have a knoledge base. I want to have 3 access tiers: entry, middle, full. Based on tier, user will have access to certain policy documents. How to manage it?
w
You can have 3 different knowledge bases
And then when you search knowledge you can dynamically specify in which KB you want to search
f
how do I switch between KBs? user token? or should I have 3 separate chats?
p
You could have three different workflows with an autonomous node that routes users to the correct one and have "authentication/validation" mechanisms at the beginning of the more restricted ones.
f
@prehistoric-airplane-85682 Thanks! That works for me. Now, the only question I have -> How to auth user automatically? On chat launch, via Next.js I don't want to ask user every-time for his email on start of conversation.
p
Glad that solution works for you! You can use the user Id that is automatically created, however it is tied to a device-browser.