add createNewt action and remove max orgs restriction

This commit is contained in:
miloschwartz 2025-03-26 22:20:22 -04:00
parent fefb07e14c
commit 5e2f9e1eeb
No known key found for this signature in database
4 changed files with 24 additions and 4 deletions

View file

@ -383,7 +383,10 @@ authenticated.get(
authenticated.get(`/org/:orgId/overview`, verifyOrgAccess, org.getOrgOverview);
authenticated.post(`/supporter-key/validate`, supporterKey.validateSupporterKey);
authenticated.post(
`/supporter-key/validate`,
supporterKey.validateSupporterKey
);
authenticated.post(`/supporter-key/hide`, supporterKey.hideSupporterKey);
unauthenticated.get("/resource/:resourceId/auth", resource.getResourceAuthInfo);
@ -470,7 +473,11 @@ authenticated.delete(
// role.removeRoleAction
// );
authenticated.put("/newt", createNewt);
authenticated.put(
"/newt",
verifyUserHasAction(ActionsEnum.createNewt),
createNewt
);
// Auth routes
export const authRouter = Router();