You have been redirected from an outdated version of the article. Below is the content available on this topic. To view the old article click here.

copy_permissions()

Usage

copy_permissions(sourceNode, targetNode[, overwrite = false])

Description
Copies the security configuration of an entity to another entity. If the overwrite parameter is set to true, existing security relationships are overwritten. If it is not set (or omitted) the function works additively.

Search results for "copy_permissions()"

copy_permissions()

Copies the security configuration of an entity to another entity. If the overwrite parameter is set to true, existing security relationships are overwritten. If it is not set (or omitted) the function works additively.

copy_permissions(sourceNode, targetNode[, overwrite = false])

Permission Grants

This lifecycle method has to be created on every schema type the creating user should not have a SECURITY relationship to.

Note: If both OWNS and SECURITY are skipped for non-admin users, the user probably has no rights to even see the node after creating it. Using Access Control Functions grant() or copy_permissions() the user/group can get rights to the node.