glide.knowman.section.view_roles.draft is used in which script?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2022 04:51 AM
Hello all,
I am aware that
glide.knowman.section.view_roles.review,glide.knowman.section.view_roles.draft,glide.knowman.section.view_roles.stagesAndRoles, the roles mentioned on the fields is the restriction for user's to access the different state of article.
Example:
glide.knowman.section.view_roles.review -> itil , user with this role can see review state articles.
glide.knowman.section.view_roles.draft -> knowledge , user with this role can see draft state articles.
But here the requirement is like. if a user is part of a group say(ABC). then he/she can able to see all state articles. even though the user has only snc_internal role. the group has no role in it. if there are some role we can put it in the property, unfortunately this group shouldn't have role.
can u help me with identifyng where this property is used? i have checked in BR,Client script,ui macro,ui policy,script include. no luck.
Is there a way to restrict or allow if the user is part of particular group then all state article should visible in portal.
The whole thing is about portal only.
- Labels:
-
Service Portal Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2022 04:57 AM
Open ServiceNow Studio, open one of the applications there. On the top you will find code search feature, just check on search on all applications and serach with the property name you are looking for . It will show you all the scripts where it is being used

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2022 05:05 AM
Hi Bala,
The OOB approach to deal with this situation would be to use the ownership group property. Kindly refer the docs - https://docs.servicenow.com/bundle/quebec-servicenow-platform/page/product/knowledge-management/concept/enable-ownership-group.html
Let me know if that helps.
If you think my response is helpful for you? If yes, mark it as correct answer and close the loop so that it would help future readers as well.
Regards,
Deepankar Mathur

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2022 05:06 AM
Hello,
This can be done by navigating to Knowledge > Administration > Properties
1. Check "Show unpublished articles in Knowledge Base portal and search results (does not apply to Global Text Search results)" (glide.knowman.show_unpublished) sys_property
2. Edit "Define roles that can view articles in other/custom workflow states. Do not include Draft and and Review states, as they are already defined in other properties. (Format - stage:[roles];) For example:" and add the custom workflow state and roles (glide.knowman.section.view_roles.stagesAndRoles) sys_property
The following docs link will serve as a good reference: https://docs.servicenow.com/bundle/istanbul-servicenow-platform/page/product/knowledge-management/re...
Regards,
Vaishnavi Lathkar