3 files changed
+1
-9
No files matched your search
@@ -63,10 +63,6 @@ curl -H 'ApiKey: <id>.<token>' http://localhost:7575/api/health/live
|
|||||||
curl -H 'ApiKey: <id>.<token>' http://localhost:7575/api/trpc/app.all
|
curl -H 'ApiKey: <id>.<token>' http://localhost:7575/api/trpc/app.all
|
||||||
```
|
```
|
||||||
|
|
||||||
### App Endpoint Permissions
|
|
||||||
|
|
||||||
The app endpoints (`/api/apps/paginated`, `/api/apps`, `/api/apps/search` and the corresponding tRPC procedures and MCP tools) require the `app-modify-all` permission. API keys inherit the permissions of the user who created them, so a key can only list apps when its owner can manage apps. Endpoints that only read app metadata for board placement (`/api/apps/selectable`, `/api/apps/{id}`) remain available to signed-in users without this permission.
|
|
||||||
|
|
||||||
### Use Cases
|
### Use Cases
|
||||||
|
|
||||||
API key authentication enables programmatic access for:
|
API key authentication enables programmatic access for:
|
||||||
|
|||||||
-4
@@ -132,10 +132,6 @@ export const MatrixImpliedHint = ({ category, permissionLabels }: MatrixImpliedH
|
|||||||
const form = useFormContext();
|
const form = useFormContext();
|
||||||
const tPermissions = useScopedI18n("group.permission");
|
const tPermissions = useScopedI18n("group.permission");
|
||||||
|
|
||||||
if (category === "admin") {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
const level = getMatrixLevel(form.getValues(), category);
|
const level = getMatrixLevel(form.getValues(), category);
|
||||||
if (level === 0) {
|
if (level === 0) {
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ export const appIntegrationBoardMode = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return groups.concat(
|
return groups.concat(
|
||||||
session.user.permissions.includes("app-modify-all") || session.user.permissions.includes("board-modify-all")
|
session.user.permissions.includes("board-modify-all")
|
||||||
? [appsSearchGroup, integrationsSearchGroup]
|
? [appsSearchGroup, integrationsSearchGroup]
|
||||||
: [integrationsSearchGroup],
|
: [integrationsSearchGroup],
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in new issue
Block a user