From 99dadac0af4370a73ce90de1cedad4430f9d90df Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Sat, 10 Feb 2024 12:04:39 +0100 Subject: [PATCH] backend-plugin-api: remove WIP permissions from service principal Signed-off-by: Patrik Oldsberg --- packages/backend-plugin-api/api-report.md | 1 - .../backend-plugin-api/src/services/definitions/AuthService.ts | 3 --- 2 files changed, 4 deletions(-) diff --git a/packages/backend-plugin-api/api-report.md b/packages/backend-plugin-api/api-report.md index 23e9172bee..a798f1b1f7 100644 --- a/packages/backend-plugin-api/api-report.md +++ b/packages/backend-plugin-api/api-report.md @@ -125,7 +125,6 @@ export type BackstagePrincipalTypes = { export type BackstageServicePrincipal = { type: 'service'; subject: string; - permissions?: string[]; }; // @public (undocumented) diff --git a/packages/backend-plugin-api/src/services/definitions/AuthService.ts b/packages/backend-plugin-api/src/services/definitions/AuthService.ts index 8eeb40a5ca..a35d5a5160 100644 --- a/packages/backend-plugin-api/src/services/definitions/AuthService.ts +++ b/packages/backend-plugin-api/src/services/definitions/AuthService.ts @@ -38,9 +38,6 @@ export type BackstageServicePrincipal = { // Exact format TBD, possibly 'plugin:' or 'external:' subject: string; - - // Not implemented in the first iteration, but this is how we might extend this in the future - permissions?: string[]; }; /**