mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-15 08:34:52 +00:00
Fix: Add missing actorOrgId to service handlers
This commit is contained in:
@@ -711,6 +711,7 @@ export const registerSecretRouter = async (server: FastifyZodProvider) => {
|
||||
if (req.body.type !== SecretType.Personal && req.permission.type === ActorType.USER) {
|
||||
const policy = await server.services.secretApprovalPolicy.getSecretApprovalPolicyOfFolder({
|
||||
actorId: req.permission.id,
|
||||
actorOrgId: req.permission.orgId,
|
||||
actorAuthMethod: req.permission.authMethod,
|
||||
actor: req.permission.type,
|
||||
secretPath,
|
||||
|
||||
Reference in New Issue
Block a user