Asaf Cohen
04/27/2023, 10:43 AMpaying_us_admins inherits from paying_us_users - the child condition set (paying_us_admins) represents a smaller (or narrower) set of users.
• When you edit a condition sets, all of its descendants will be immediately updated with the new conditions.
• If you delete a parent condition set, all descendant condition sets will be automatically deleted.
• Limitations: user sets can only inherit from user sets, and resource sets can only inherit from resource sets.
API Docs:
https://docs.permit.io/api/working-with-abac/condition-sets#condition-set-hierarchy
{
"key": "private_archived_repos",
"name": "Private Archived Repositories",
"type": "resourceset",
"conditions": {...},
"parent_id": "private_repositories" // <- can accept the parent condition set *id* or the parent condition set *key*
}
Also supported in the Permit Dashboard (attached screenshot).