File resources
If the dashboard contains an external resource file that was uploaded to MashZone NextGen, for example, an image, you must perform the following steps.
{
"version": "1.1",
"sid": "PolicyService",
"svcVersion": "0.1",
"oid": "addPermissions",
"params": [
"[NAME_OF_THE_FILE]",
"type.entity.file",
"VIEW",
[
{
"principalId": "Presto_Guest",
"principalTypeId": "SpecialGroup"
}
]
]
}
Add the
x-p-anonymous=true URL parameter to the source URL to access the uploaded file, see for example the
Source URL parameter of the
Image dashboard component.