- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2015 04:39 PM
I have a use case to make it so some knowledge articles are public and can be viewed by unauthenticated users while other articles could be visible to authenticated users who have no roles. I have found that if I give the article no roles or the public role, then the article is only visible to authenticated users. If I add the kb_view.do page to Public Pages, then unathenticated users can read articles without the public role. Essentially, it's as if the public role does nothing.
I feel like I'm missing something somewhere. Any help in the right direction would be appreciated.
Solved! Go to Solution.
- Labels:
-
Knowledge Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2015 07:49 PM
Hi Shawn,
Have you tried a before business rule to filter out articles for non logged in users?
Perhaps combine that with a "No login required" checkbox to make the filtering easy.
something like:
function onBefore(current, previous) {
current.addQuery("u_no_login_required", true);
}
with a condition of:
!gs.isLoggedIn();
It's not using roles, but was working nicely for me.
Cheers
R
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2016 02:33 AM
Hi Russell
I have created a Knowledge article in "My Knowledge Article" with role public.
Now i want that article should be accessible even without login .
I was trying your business rule on the table kb_knowledge but i didnt get the second line " Perhaps combine that with a "No login required" checkbox to make the filtering easy".
Can you please help me in this .. how to do ?
