From 66351ef935192e411c50e2ebead88d53e05039ad Mon Sep 17 00:00:00 2001 From: cs3099group-be-4 Date: Thu, 26 Apr 2018 00:16:32 +0100 Subject: Fix user privilege mismatch --- src/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/index.ts') diff --git a/src/index.ts b/src/index.ts index 30f82bf..4120fef 100644 --- a/src/index.ts +++ b/src/index.ts @@ -108,7 +108,7 @@ async function reset(): Promise { }); const standardProjectUser: ContributorGroup = new ContributorGroup({ - name: 'standardProjectUser', + name: 'regular', canCreateFiles: true, canViewFiles: true, isInternal: false, @@ -116,14 +116,14 @@ async function reset(): Promise { }); const readOnlyProjectUser: ContributorGroup = new ContributorGroup({ - name: 'readOnlyProjectUser', + name: 'spectator', canViewFiles: true, isInternal: false, description: 'Allows viewing of files in a project ' }); const projectUserManagement: ContributorGroup = new ContributorGroup({ - name: 'projectUserManagement', + name: 'project_admin', canAddUsers: true, canEditUserPermissions: true, canRemoveUsers: true, -- cgit v1.2.1