We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ba0f71 commit d7d6422Copy full SHA for d7d6422
1 file changed
apps/dokploy/server/api/routers/security.ts
@@ -45,7 +45,7 @@ export const securityRouter = createTRPCRouter({
45
.mutation(async ({ input, ctx }) => {
46
const security = await findSecurityById(input.securityId);
47
await checkServicePermissionAndAccess(ctx, security.applicationId, {
48
- service: ["delete"],
+ service: ["create"],
49
});
50
const result = await deleteSecurityById(input.securityId);
51
await audit(ctx, {
0 commit comments