Deleting a group revokes the permissions it granted
CI / full-gate (push) Successful in 2m39s

This commit is contained in:
2026-08-05 15:26:25 +02:00
parent 151117680a
commit 453d6dc065
11 changed files with 48 additions and 18 deletions
+1 -1
View File
@@ -645,7 +645,7 @@ interface RequestContext {
req: IncomingMessage;
res: ServerResponse;
permissions: string[]; // user?.permissions ?? [] — coarse gate without a null-check
declaredPermissions: PermissionDecl[]; // every permission the installed plugins declare, deduped + sorted — what *exists*, vs `permissions` = what this user *holds*
declaredPermissions: readonly PermissionDecl[]; // every permission the installed plugins declare, deduped + sorted — what *exists*, vs `permissions` = what this user *holds*
system?: SystemCapabilities; // privileged Ory clients + instant-revoke, for a system plugin (see below); undefined unless the host wired them
url: URL;
verifyCsrf(submitted): boolean; // gate a form POST against the request's signed CSRF cookie