Add community_statistics to user ROLES.

This commit is contained in:
elweyn 2022-08-17 12:46:29 +02:00
parent 632141ffca
commit b1a17c52ec

View File

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