aboutsummaryrefslogtreecommitdiff
path: root/src/index.ts
diff options
context:
space:
mode:
authorcs3099group-be-42018-04-26 00:16:32 +0100
committercs3099group-be-42018-04-26 00:16:32 +0100
commit66351ef935192e411c50e2ebead88d53e05039ad (patch)
treebac6571b5f9b251c2bff90bd62120fef7534a7fc /src/index.ts
parentsmall fixes of fs.unlink and paths passed to c (diff)
downloadmedicine-66351ef935192e411c50e2ebead88d53e05039ad.tar.gz
medicine-66351ef935192e411c50e2ebead88d53e05039ad.zip

Fix user privilege mismatch

Diffstat (limited to 'src/index.ts')
-rw-r--r--src/index.ts6
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,