Luiz da Silva
09/17/2026, 7:38 PMcurl -sS -H "Authorization: Bearer $env:PERMIT_PROD_KEY" "<https://api.permit.io/v2/facts/default/production/role_assignments/detailed?user=12354&tenant=default&per_page=100>"
It returns something like:
{
"id": "004242fee3b54d94a5f1caadd52b2ff4",
"role": {
"id": "865927aa193e40ebbb2a1bfec64de774",
"key": "SchedulingExecutive",
"name": "SchedulingExecutive",
"permissions": [
"Company:read-company",
...
]
},
"user": {
"id": "0b7823e7c956452285e90375d7550e02",
"key": "12354",
"email": null,
"first_name": ...,
"last_name": ...,
"attributes": null
},
"tenant": {
"id": "463ab023370c43b6b383d2cced12afb4",
"key": "default",
"name": "Default Tenant",
"attributes": null
},
"resource_instance": {
"id": "00904ff7cbdc402aaf372e9ef1c444de",
"key": "194",
"resource": "Community",
"attributes": { ... }
},
"organization_id": "75ba10ce33df4af49b3d3f28251ad325",
"project_id": "06a201217bf34db08ced08463a3c1e68",
"environment_id": "c2806df4431a49d49390e0d61fe1ee3e",
"created_at": "2026-01-23T15:45:51+00:00"
}
Notice how the permissions given start with Company:, which all come from Company#SchedulingExecutive, but have been applied to Community#194 as if they were Community#SchedulingExecutive because with the Node.js SDK we used to refer to it simply as SchedulingExecutive and expected the API to pick-up the correct resource type on Permit's side.
Now, the problem is we're trying to fix these mismatches, both through the web UI panel or through the SDK/API; neither works (generally just a 404 or generic error message). Is this a known regression? If so, has it been patched at some point? And how to recover from it for existing users without having to recreate all?
Thanks!Ask Inkeep
09/17/2026, 7:38 PMAsk Inkeep
09/17/2026, 7:38 PMSchedulingExecutive being applied against the wrong resource type (Community#194 instead of Company#SchedulingExecutive) isn't described in any of the available documentation or GitHub issues I have access to. I also don't have anything confirming this as a known regression, whether it was patched, or a recovery procedure for existing mismatched role assignments.
What I can confirm from the sources is general resource role structure: resource roles are formatted as Resource#Role (e.g. Folder#Owner), and role assignments in ReBAC are tied to a specific resource instance rather than the whole resource type scope(1). But nothing in my sources addresses ambiguous resolution when a role key like SchedulingExecutive exists on multiple resource types, or SDK behavior around omitting the resource type.
Since this touches on a potential bug affecting production data integrity, I'd recommend reaching out directly so an engineer can dig into your specific environment. To help them investigate, please share:
1. Which Workspace / Project / Env you're using
2. The exact calls you're performing (SDK code or CURL) — you've shared one, but also the ones that fail when trying to fix the mismatches via SDK/API
3. Which PDP version you're running (if enforcement is involved)
4. Relevant logs from your PDP, if applicable
You can reach out via Email with these details.
Would you like me to give a general answer based on how resource roles and role assignments typically work, while we wait on that investigation?Ask Inkeep
09/17/2026, 7:39 PMOr Weis
09/17/2026, 7:52 PMLuiz da Silva
09/17/2026, 7:53 PMZe'ev Manilovich
09/17/2026, 9:08 PMLuiz da Silva
09/17/2026, 9:11 PMkhang
09/17/2026, 9:46 PMZe'ev Manilovich
09/19/2026, 9:39 AMdavid
09/22/2026, 9:22 AMkhang
09/22/2026, 12:18 PMdavid
09/23/2026, 1:18 PMkhang
09/23/2026, 1:27 PMkhang
09/23/2026, 5:06 PMZe'ev Manilovich
09/23/2026, 8:16 PMLuiz da Silva
09/23/2026, 8:18 PMZe'ev Manilovich
09/23/2026, 8:19 PMLuiz da Silva
09/23/2026, 8:20 PMZe'ev Manilovich
09/23/2026, 8:21 PMdavid
09/24/2026, 2:52 PM