Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Knowledge Category Restrict Create

carlosrlara
Mega Expert

We are on Geneva Patch 9 and have enabled Knowledge V3 since Fuji, One glaring problem i have with the new knowledge is that anyone can add categories. I would like to have a before update business rule abort the action and relay a message to the end user that they can not. Unless they are a knowledge admin or knowledge manager role.

8 REPLIES 8

Chuck Tomasi
Tera Patron

It appears this is done at the Knowledge base level. See image below. Go to Knowledge> Administration> Knowledge Bases and update the record accordingly.



find_real_file.png



If you check that box, the "+" no longer appears in the category picker.



find_real_file.png


Chuck,



This actually disables everyone from editing the categories. I wanted to allow knowledge admins / knowledge managers to still have access to that. Otherwise, i have to manually create the relationships which isnt a huge problem but the beauty of the category picker is it does it automatically for a user.



I went to knowledge> Administration> Knowledge Bases




find_real_file.png



I see when i configure the form , the option for disable category editing is being blocked by a UI policy



find_real_file.png




UI POLICY blocking the button from showing? I disabled it and worked as you said. Why is the button disabled inherently?



find_real_file.png


Hi ,



Am also having a similar situation where in I want knowledge_admins to be able to create Knowledge Categories from the below path.


Knowledge base --> Knowledge Categories --> New option on the list



Surprisingly even a user with Knowledge admin role can't see 'New' button. It appears only Admins and Knowledge Owner or Manager can create.


I have followed existing ACL and created something similar for Knowledge Admins, but 'New' button still won't appear.


However, kb_catgeory.do is working fine. Am little confused.



Any suggestions?



Regards,


Mahesh.


madhvi
Giga Contributor

Hi mahesh,



U can edit "New" UI action.By putting gs.hasRole('knowledge_admin'),knowledge admin will be able to see New button.