29 views

Description

Build information: Jakarta Patch7 and Kingston Patch2

In addition, customer requested instruction/DOC on how to use GlideSPScriptable.canSeePage("services_status") condition

Steps to Reproduce

1. Confirm the condition for menu item "System Status":

GlideSPScriptable.canSeePage("services_status")

<instance>/nav_to.do?uri=/sp_rectangle_menu_item.do%3Fsys_id%3D4950df36d7001200a9addd173e24d496%26sysparm_record_target%3Dsp_rectangle_menu_item%26sysparm_record_row%3D5%26sysparm_record_rows%3D5%26sysparm_record_list%3Dsp_rectangle_menu%253Dd150fd31cb10020000f8d856634c9ce6%255EORDERBYorder

2. Activate User Criteria plugin for Service Portal.
3. Navigate to User Criteria and add Abel Tuter to "All ACME North America employees" list.
4. Navigate to Page -> System Status (id: services_status).
5. Add "All ACME North America employees" under "Cannot View".
6. Impersonate "Able Tuter" and navigate to Service Portal
7. Click "System Status" page on Service Portal:
<instance>/sp?id=services_status

Notice that the "System Status" page is still viewable by "Abel Tuter" even though "Abel Tuter" is on cannot view list of "All ACME North America employees"

It seems that user criteria does not apply to the menu itmes on Service Portal.

I could not find any DOC On GlideSPScriptable.canSeePage and the customer does not want to use role in condition, such as GlideSPScriptable.canSeePage("gs.hasRole('itil');")

Workaround

This issue is under review. To receive notifications when more information is available, subscribe to this Known Error article by clicking the Subscribe button at the top right of the article. If you are able to upgrade, review the Fixed In or Intended Fix Version fields to determine whether any versions have a planned or permanent fix.

 


Related Problem: PRB1259231

Seen In

There is no data to report.

Intended Fix Version

Madrid

Safe Harbor Statement

This "Intended Fix Version" information is meant to outline ServiceNow's general product direction and should not be relied upon in making a purchasing decision. The information provided here is for information purposes only and may not be incorporated into any contract. It is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. The development, release, and timing of any features or functionality described for our products remains at ServiceNow's sole discretion.

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2018-08-03 14:34:25
Published:2018-07-27