feat(frontends,security,api,ui): a frontend can hold a token scope of its own

This commit is contained in:
hh committed 2026-09-06 23:26:26 +02:00
1 parent 60782d6276
commit e79e9fc149
11 files changed
+245 -21

No files matched your search

+5
View File
@@ -12,6 +12,7 @@ import type {
LimitsResponse,
MemoryFile,
MemoryTree,
ScopeRow,
SearchResponse,
SessionsResponse,
TokenRow,
@@ -351,6 +352,10 @@ export class ApiClient {
});
}
scopes(): Promise<{ scopes: ScopeRow[] }> {
return this.get("/api/scopes");
}
createToken(
name: string,
scope: string