Enforce the action inside of the function

This commit is contained in:
Owen
2026-06-12 14:22:17 -07:00
parent 471ae98204
commit 5a8a48f9bf
2 changed files with 23 additions and 1 deletions

View File

@@ -612,7 +612,7 @@ authenticated.post(
verifyValidSubscription(tierMatrix.advancedPrivateResources),
verifyOrgAccess,
verifyLimits,
verifyUserHasAction(ActionsEnum.signSshKey),
// verifyUserHasAction(ActionsEnum.signSshKey), // this check happens inside of the function now
// logActionAudit(ActionsEnum.signSshKey), // it is handled inside of the function below so we can include more metadata
ssh.signSshKey
);