Scripted Dashboard Access / permissions

Hello,

I have a few scripted dashboards for a few set of users.

All these users are given as Viewer Roles and when they access the configured dashboards, they get below options when panel title is clicked.

image

However, when they access the scripted dashboards, they get multiple options as below, which I want to restrict.

image

Is there any access parameter we need to set in the scripted dashboard JS file to achieve this feature.

NOTE: I have configured only single Organization, so all the configured and scripted dashboards are loaded under same organization and access level.

THANK YOU in advance!!

Could you please share how these are scripted? Are you using helm or some other provisioning method? Are you leveraging some grafana api?