Automatically creation of Cross Scope Priviledge
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2024 01:46 AM
Hi
I am facing an issue: when i am trying to do the read operation from custom application to Global Application via background script. It automatically created a cross scope privilege record with read operation. How can we disable this auto creation?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2024 01:57 AM
it comes from table's application access
If your global table is made accessible from all scoped and other scope script is trying to access, system automatically creates cross scope. I don't think you can stop it
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2024 02:22 AM
Hi @Abhishek Sharm1 ,
It is application-to-application security. If you go to the tables you are trying to write, you'll see an Application Access tab that defines the cross application access to All Applications, or else it will create record in cross scope privilege table when you hit form BG.
In background script after Run Script button you can see the scope update the target table scope.
If my response helped, please mark it as the accepted solution ✅ and give a thumbs up👍.
Thanks,
Anand
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2024 02:26 AM
Hello @Abhishek Sharm1
On Your Global Table configurations, You will have below options in
Caller Restriction: Calls to the resource must be manually approved. Access requests are tracked in the Restricted Caller Access table with a status of Requested.
None: Cross-scope calls to the resource are approved or denied based on the value of the Accessible from field.
So if you set your Table is accessible from all scopes with caller access as None
Then the system will automatically allow the cross scope access doesn't create one automatically.
Please mark the answer as helpful and correct if helped.
Kind Regards, Ravi Chandra
Caller Tracking: Calls to the resource are automatically approved. Calls are tracked in the Restricted Caller Access table with a status of Allowed.