From 0727d159648ff7fa57d0bb1e36205cd8edcd6ac3 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Sun, 8 Nov 2026 22:24:18 +0100 Subject: [PATCH] Trim two stale comments in the grants and Keto client headers --- examples/plugins/auth-admin/admin-grants.ts | 4 ++-- src/auth/keto-client.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/plugins/auth-admin/admin-grants.ts b/examples/plugins/auth-admin/admin-grants.ts index c90c79c..2111853 100644 --- a/examples/plugins/auth-admin/admin-grants.ts +++ b/examples/plugins/auth-admin/admin-grants.ts @@ -3,8 +3,8 @@ // resolves a group's grant transitively at login. // // The set of permissions that *exist* is `ctx.declaredPermissions` — the host's catalog, built from -// what the installed plugins declare in code. Nothing here invents a name, which is why the old -// Permissions screen is gone: a grant is a property of a user or a group, edited where they are. +// what the installed plugins declare in code. Nothing here invents a name: a grant is a property of a +// user or a group, edited where they are. import { createHash } from "node:crypto"; import type { KetoClient, PermissionDecl, RelationTuple, SubjectSet, Translate } from "@plainpages/plugin-api"; diff --git a/src/auth/keto-client.ts b/src/auth/keto-client.ts index 2757d23..2ffeca7 100644 --- a/src/auth/keto-client.ts +++ b/src/auth/keto-client.ts @@ -32,7 +32,7 @@ export interface RelationList { // Keto's expand tree: a node is a set operation (union/…) or a leaf. The resolved subject // (subject_id xor subject_set) rides on `tuple`, not the node itself — verified against Keto -// v26.2.0. A `subject_set` node carries its members as `children` ("effective access" view). +// v26.2.0. A `subject_set` node carries its members as `children`. export interface ExpandTree { children?: ExpandTree[]; tuple?: RelationTuple;