Hi,
I use Google Dialogflow CX.
I created data store and added my unstructured HR documents
then related data store with a page of my flow.
All documents won't be available for all employees, I want to restrict some documents
considering employee company code etc.
How can I do ?
Thanks
State handlers | Dialogflow CX | Google Cloud
Data stores | Dialogflow CX | Google Cloud
To restrict access to specific HR documents in Dialogflow CX based on employee attributes like company data, you can implement access control through a webhook approach.
You can use the data store as a webhook and control access through your webhook logic. This approach gives you the flexibility to implement custom authorization rules before retrieving documents.
Set up a webhook that will be called before accessing your data store
Thanks for the answer.
But I only relate page with datastore (choosing data store) on the interface so I couldn't get "retrieve and return documents the employee is authorized to access" part.
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 |