diff options
| author | cs3099group-be-4 | 2018-04-26 00:16:32 +0100 |
|---|---|---|
| committer | cs3099group-be-4 | 2018-04-26 00:16:32 +0100 |
| commit | 66351ef935192e411c50e2ebead88d53e05039ad (patch) | |
| tree | bac6571b5f9b251c2bff90bd62120fef7534a7fc /src/index.ts | |
| parent | small fixes of fs.unlink and paths passed to c (diff) | |
| download | medicine-66351ef935192e411c50e2ebead88d53e05039ad.tar.gz medicine-66351ef935192e411c50e2ebead88d53e05039ad.zip | |
Fix user privilege mismatch
Diffstat (limited to 'src/index.ts')
| -rw-r--r-- | src/index.ts | 6 |
1 files changed, 3 insertions, 3 deletions
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<void> { }); const standardProjectUser: ContributorGroup = new ContributorGroup({ - name: 'standardProjectUser', + name: 'regular', canCreateFiles: true, canViewFiles: true, isInternal: false, @@ -116,14 +116,14 @@ async function reset(): Promise<void> { }); 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, |
