add admin and moderator roles

parent 881c7e42
......@@ -731,7 +731,7 @@ var _authorization_groups = function() {
_groups['moderator'] = {
id: 'moderator',
backends: [moderator.backend],
roles: [],
roles: ['moderator'],
admin_by: [],
moderator_by: [],
members: moderator.members,
......@@ -760,7 +760,7 @@ var _authorization_groups = function() {
_groups['admin'] = {
id: 'admin',
backends: [admin.backend],
roles: [],
roles: ['admin'],
admin_by: [],
admin_by: [],
members: admin.members,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment