You are here

setPermissions

setPermissions(node, permissions) sets permissions for a node.

Parameters

node
The ScriptNode object to set permissions for.
permissions
The permissions to set for the object.