bma
10 years agoMentor
API: Copying Permissions to another Node or Role (node A -> node B, role X -> role Y)
Hi,
I want to programmatically copy node A's Defaults permissions to node B, and copy/clone Role X configuration to Role Y (where the roles are on different nodes).
- Are there REST APIs to get/set a community or node's "Defaults" permissions' values (e.g. See categories: Default|Deny|Grant|Allow Grant)?
- Are there REST APIs to get/set a Roles' permissions' values (e.g. Read posts: Default|Deny|Grant|Allow Grant) at the community-level or specific node-level?
- Are there REST APIs to list the Permissions keys configurable at the community-level or specific node-level?
Thank you,
Ben