Skip to content

Commit 5048a52

Browse files
committed
sec: bump permission on creating an organization_api_key
1 parent 799e186 commit 5048a52

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

server/src/handlers/organization_handler.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ pub struct CreateApiKeyResponse {
453453
)
454454
)]
455455
pub async fn create_organization_api_key(
456-
_user: LoggedUser,
456+
_user: AdminOnly,
457457
data: web::Json<CreateApiKeyReqPayload>,
458458
organization: OrganizationWithSubAndPlan,
459459
pool: web::Data<Pool>,

0 commit comments

Comments
 (0)