Add RIGHTS.LIST_ALL_CONTRIBUTION_MESSAGES to the ROLES of Users.

This commit is contained in:
elweyn 2022-08-24 16:32:58 +02:00
parent e0fcdb2cee
commit a9c3dd25ed

View File

@ -32,6 +32,7 @@ export const ROLE_USER = new Role('user', [
RIGHTS.LIST_CONTRIBUTION_LINKS, RIGHTS.LIST_CONTRIBUTION_LINKS,
RIGHTS.COMMUNITY_STATISTICS, RIGHTS.COMMUNITY_STATISTICS,
RIGHTS.CREATE_CONTRIBUTION_MESSAGE, RIGHTS.CREATE_CONTRIBUTION_MESSAGE,
RIGHTS.LIST_ALL_CONTRIBUTION_MESSAGES,
]) ])
export const ROLE_ADMIN = new Role('admin', Object.values(RIGHTS)) // all rights export const ROLE_ADMIN = new Role('admin', Object.values(RIGHTS)) // all rights