User criteria check
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-09-2022 01:38 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-09-2022 04:34 AM
Hi Glenn,
So your requirement is to restrict somebody from using the knowledge article. Use the same script include and do an indexOf in the resulting array to check if the user is part of of the specific user criteria. This will be a check on user's user criteria in another user criteria for the knowledge articles
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-09-2022 04:36 AM
Not so much restricting the article. The problem is when we have an article that the user cannot see, all is well, BUT if he/she gets hold of the attachment link on the article the person can download it no matter if they can see the article or not.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-09-2022 04:47 AM
Hi Glenn,
I got it. Not sure about this, but it's worth giving a try with 'g_form.disableAttachments()'. Will disable the button itself.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-09-2022 04:41 AM
Can you give an example of the code to be used?
