Add API to add and update the group roles

This commit is contained in:
Girish Ramakrishnan
2018-06-14 22:42:40 -07:00
parent a77d45f5de
commit 02d5d2f808
8 changed files with 134 additions and 4 deletions
+1
View File
@@ -152,6 +152,7 @@ function initializeExpressSync() {
router.post('/api/v1/groups', usersScope, routes.groups.create);
router.get ('/api/v1/groups/:groupId', usersScope, routes.groups.get);
router.put ('/api/v1/groups/:groupId/members', usersScope, routes.groups.updateMembers);
router.put ('/api/v1/groups/:groupId/roles', usersScope, routes.groups.setRoles);
router.del ('/api/v1/groups/:groupId', usersScope, routes.users.verifyPassword, routes.groups.remove);
// form based login routes used by oauth2 frame