LLM topic Visibility Restrictions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
6 hours ago
Hi,
I created two LLM topics and published them. After publishing, the topics appeared in the chatbot. Then I created two users and assigned them the snc_internal role. I want each user to see only one specific topic. So, I created two groups and two roles, and assigned each user their respective group and role. But when I added these roles in the topic visibility settings, it didn’t work.
Can anyone who is working on this please help me regarding the LLM topic
table name: sys_cs_topic here also i added role and script but it didn't work.
here is the script
(function() {
var user = gs.getUserID();
if (gs.hasRole('itil') || gs.hasRole('pharmacy_employee') || gs.hasRole('admin'))
return true;
return false;
})();
(function() {
var user = gs.getUserID();
if (gs.hasRole('itil') || gs.hasRole('power_outage') || gs.hasRole('admin'))
return true;
return false;
})();
