Add rolesJson to groups table

This will contain the roles ('role definition') of a group of
users. We will internally map these to our API scopes.
This commit is contained in:
Girish Ramakrishnan
2018-06-14 21:12:52 -07:00
parent 5e09f3dcb2
commit a77d45f5de
15 changed files with 135 additions and 36 deletions
+1 -1
View File
@@ -133,7 +133,7 @@ function setup(done) {
});
},
function (callback) {
groups.create(GROUP_NAME, function (error, result) {
groups.create(GROUP_NAME, [ /* roles */ ], function (error, result) {
if (error) return callback(error);
GROUP_ID = result.id;