From a9c3dd25edc2ed85237242df2b439a8c9b619cd8 Mon Sep 17 00:00:00 2001 From: elweyn Date: Wed, 24 Aug 2022 16:32:58 +0200 Subject: [PATCH] Add RIGHTS.LIST_ALL_CONTRIBUTION_MESSAGES to the ROLES of Users. --- backend/src/auth/ROLES.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/src/auth/ROLES.ts b/backend/src/auth/ROLES.ts index bad18db9e..eabaf8e99 100644 --- a/backend/src/auth/ROLES.ts +++ b/backend/src/auth/ROLES.ts @@ -32,6 +32,7 @@ export const ROLE_USER = new Role('user', [ RIGHTS.LIST_CONTRIBUTION_LINKS, RIGHTS.COMMUNITY_STATISTICS, RIGHTS.CREATE_CONTRIBUTION_MESSAGE, + RIGHTS.LIST_ALL_CONTRIBUTION_MESSAGES, ]) export const ROLE_ADMIN = new Role('admin', Object.values(RIGHTS)) // all rights