mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-03 17:44:44 +02:00
add createNewt action and remove max orgs restriction
This commit is contained in:
parent
fefb07e14c
commit
5e2f9e1eeb
4 changed files with 24 additions and 4 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue