Skip to content

Commit 2cca5a9

Browse files
committed
Locking down endpoint
1 parent 6a65e69 commit 2cca5a9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/controller/org.controller/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -639,6 +639,7 @@ router.put('/registry/org/:shortname',
639639
*/
640640
mw.useRegistry(),
641641
mw.validateUser,
642+
mw.onlySecretariat,
642643
parseError,
643644
parsePutParams,
644645
registryOrgController.UPDATE_ORG

0 commit comments

Comments
 (0)