From fd9c09eed6352de7e47f1fd582fa22f532a1ff4b Mon Sep 17 00:00:00 2001 From: cdxker Date: Tue, 9 Sep 2025 23:46:08 -0700 Subject: [PATCH] sec: bump permission on creating an `organization_api_key` --- server/src/handlers/organization_handler.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/handlers/organization_handler.rs b/server/src/handlers/organization_handler.rs index 2f046987a4..bce2232a12 100644 --- a/server/src/handlers/organization_handler.rs +++ b/server/src/handlers/organization_handler.rs @@ -453,7 +453,7 @@ pub struct CreateApiKeyResponse { ) )] pub async fn create_organization_api_key( - _user: LoggedUser, + _user: AdminOnly, data: web::Json, organization: OrganizationWithSubAndPlan, pool: web::Data,