What is the following error? You don’t have permission to select this data resource. Contact your ad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2022 10:32 AM
Hi all,
I am getting the following error "You don’t have permission to select this data resource. Contact your admin for more information". What could be the reason?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2022 07:49 PM
You will need to create a ACL for the data source,
ACL:
Type is ux_data_broker
Name is the sys_id of the data source.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2023 09:12 AM
Thank you ACL helped
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2024 12:43 AM
To add an ACL to your custom Data Broker Server Script you can use this simple script:
var ACLGr = new GlideRecord('sys_security_acl');
ACLGr.initialize();
ACLGr.name = 'abcdef63eb85c2d06056abcdefabcdef'; // custom data broker script sys_id
ACLGr.operation = 'execute';
ACLGr.type = '6d9c40e9531210101cb3ddeeff7b12f6'; // ux_data_broker
ACLGr.insert();
All you need to do - replace the sys_id for custom data broker sys_id.