KB User's Guide - Documents Tab - Embedding user specific content in KB documents (HTML editor only)

This feature allows authors to embed, in one document, content meant for specific individual users (e.g. allows a block of text to be visible only to a specified user who is a fully authorized internal user). When the activated document is rendered by a particular user, all content marked for other users is filtered out.

To mark content so that it is visible for only specific users, use span tags with a class attribute of "visible-only-to-user_qualified@domain".

For example, to embed content meant for user jsmith@univ.edu only:
<span class="visible-only-to-jsmith@univ.edu"> Some info for John Smith's eyes only here.</span>

In the same document, to embed content meant for user jdoe@univ.edu only:
<span class="visible-only-to-jdoe@univ.edu"> Some info for Jane Doe's eyes only here. </span>

Please note that no other span tags should be used within the "visible-only-to-user_qualified@domain" span tag, as they may result in partial filtering of user specific content. This content filtering only works on internal KB sites, through which the user_qualified info is available. If the document is rendered via an external site, all content marked for specific users is filtered out (***no user specific content will be leaked). 
This filtering feature can be useful for KB authors who want to distribute somewhat private information such as grades, or personalized instructions.

Keywords:visible-only-to- visible only to user qualified domain content restriction individuals person username span restrict, readaccess, access, internal fully authorized internal user kb custom class   Doc ID:20307
Owner:Leah S.Group:KB User's Guide
Created:2011-09-16 13:32 CSTUpdated:2021-06-01 12:19 CST
Sites:KB Demo, KB Demo - Child Demo KB, KB User's Guide
Feedback:  0   0