From 6a4fd5fbdb4791f37065c96173bdfacd561a825b Mon Sep 17 00:00:00 2001 From: Puyodead1 Date: Thu, 14 Dec 2023 22:09:25 -0500 Subject: add new right for creating registration tokens --- src/api/routes/auth/generate-registration-tokens.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/api') diff --git a/src/api/routes/auth/generate-registration-tokens.ts b/src/api/routes/auth/generate-registration-tokens.ts index 80fdaed1..50c389e0 100644 --- a/src/api/routes/auth/generate-registration-tokens.ts +++ b/src/api/routes/auth/generate-registration-tokens.ts @@ -38,7 +38,7 @@ router.get( "The length of each registration token. Defaults to 255.", }, }, - right: "OPERATOR", + right: "CREATE_REGISTRATION_TOKENS", responses: { 200: { body: "GenerateRegistrationTokensResponse" } }, }), async (req: Request, res: Response) => { -- cgit 1.5.1