Expose associated topics on knowledge base articles

PRAVALIKAREDDYL
Tera Contributor

Hi,
Expose assigned topics related list on knowledge article pages in platform view, Only ITSM team members and ServiceNow Admin team have access to add/remove/reassign in the topic list.
I have added the assigned topics related list to the knowledge articles and i can see add button available maybe i have admin role.
Can i know how can we implement Only ITSM team members and ServiceNow Admin team have access to add/remove/reassign in the topic list,  to the assigned topics related list.
And got so munch confusion when i see the write, create and delete ACLs can anyone please explain the acls that we have have m2m_connected content table, so that move forward.

Thank you

2 REPLIES 2

Mark_Branscombe
Tera Expert

Looking at the write ACL for m2m_connected_content, there are no specified roles or data conditions, so the security rule will return true if the script returns true.

 

answer = gs.hasRole("taxonomy_admin") || new global.TaxonomyUtil().isTaxonomyManager()  || new global.TaxonomyUtil().isTaxonomyContributor() || new global.TopicPermissionUtil().isTopicManager(current.topic.toString()) || new global.TopicPermissionUtil().isTopicContributor(current.topic.toString());

 

The script is checking a number of things and if anyone of which is true, access will be granted. The first function is pretty implicit and is simply checking if the user has the taxonomy_admin role.

 

Each of the subsequent conditions call a different function in a script include, so you will need to view each in turn to establish what they are doing and which of them is granting access to the users who should not be able to access.

 

Once you have established this, I would first evaluate wether it is possible to  deliver your requirement using the out of box rules. For example, perhaps users that should not be able to edit these records have been made Taxonomy Contributors in error and making the required data changes can achieve the desired outcome without customising ACLs.

Thanks for explaining, i will check remaining things.