group: cannot set name of ldap group

This commit is contained in:
Girish Ramakrishnan
2024-01-19 22:28:48 +01:00
parent a8d37b917a
commit a1217e52c8
7 changed files with 80 additions and 35 deletions

View File

@@ -204,7 +204,7 @@ async function initializeExpressSync() {
router.post('/api/v1/groups', json, token, authorizeUserManager, routes.groups.add);
router.get ('/api/v1/groups/:groupId', token, authorizeUserManager, routes.groups.load, routes.groups.get);
router.put ('/api/v1/groups/:groupId/members', json, token, authorizeUserManager, routes.groups.load, routes.groups.setMembers);
router.post('/api/v1/groups/:groupId', json, token, authorizeUserManager, routes.groups.load, routes.groups.update);
router.put ('/api/v1/groups/:groupId/name', json, token, authorizeUserManager, routes.groups.load, routes.groups.setName);
router.del ('/api/v1/groups/:groupId', token, authorizeUserManager, routes.groups.load, routes.groups.remove);
// User directory