Cannot add Property Permissions to Networks
Hi
I am building a network based on a 'CustomerName' user extension of a user that is accessing a mashup (this is bound in the Data tab correctly).
However on my script I have attempted to add runtime permissions to the network I want to display but when I test this service I get an error saying:
Wrapped java.lang.Exception: This entity does not support property permissions Cause: This entity does not support property permissions
This is my script:
var NetworkName = "Atlas.Customer." + CustomerName + ".Network";
var params = {
principal: CustomerName /* STRING */,
allow: true /* BOOLEAN */,
resource: "*" /* STRING */,
type: "PropertyRead" /* STRING */,
principalType: "Group" /* STRING */
};
// no return
Networks[NetworkName].AddRunTimePermission(params);
Note: This entity was created beforehand programmatically. I know Things have to be enabled to use runtime permissions but I cannot find a way to do that with Networks.
Any help you could give me would be highly appreciated.
Many Thanks
Ashley

