- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2019 05:02 PM
Hi all,
I have knowledge manager that is not able to edit article in Draft state specifically the article that is created from an Incident when checking the 'knowledge' checkbox and that creates automatically a draft article as 'system'. When kb manager looks at that article all the fields are RO.
Edit: Looking at the acls, there is OOTB write acl on kb_knowledge:
var kbKnowledge = new KBKnowledge();
if(kbKnowledge.isMultipleKnowledgeUpdate())
answer = true;
else
answer = kbKnowledge.canWrite(current);
Would this be causing this as there is no update on the kb?
Did debug:
So it's definitely above ACL causing this, how do i change the ACL script to allow kb manager role?
Solved! Go to Solution.
- Labels:
-
Personal Developer Instance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2019 09:59 PM
You can write an write ACL on knowledge table
if (gs.hasRole('knowledge_manager')
{
answer = true; // allow editing
}
else {
answer = false; // lock the field
}
as admin may not see the effect of this as the ACL is set "Admin overrides" checked. You can uncheck this and see the impact,
or you can validate it by impersonating a user
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2019 09:59 PM
You can write an write ACL on knowledge table
if (gs.hasRole('knowledge_manager')
{
answer = true; // allow editing
}
else {
answer = false; // lock the field
}
as admin may not see the effect of this as the ACL is set "Admin overrides" checked. You can uncheck this and see the impact,
or you can validate it by impersonating a user
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2019 11:12 PM
HI Sam,
In OOB, if you were kb_manager or kb_onwer of knowledgebase of that article, by default you will get write access. please check if you are the manager or owner of that knowledge base.
if not please add yourself as owner or manager to that knowledgebase. so that you don't need to add one more acl. we don't recommend adding acls to knowledge base and knowledge tables. we recommend grant access though user criteria.
Thanks,
Mahesh Nunna.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2019 07:51 AM