What is the following error? You don’t have permission to select this data resource. Contact your ad

Sid_Takali
Kilo Patron
Kilo Patron

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?

SiddharamTakal_1-1667932322252.png

 

 

3 REPLIES 3

Bing Liu
Tera Contributor

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.

 

Jeevan3
Tera Contributor

Thank you ACL helped

Vadzim Surin1
Tera Expert

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.