Merge pull request #1332 from coralproject/moderator-configure

Moderator Configuration
This commit is contained in:
Wyatt Johnson
2018-02-01 09:13:59 -07:00
committed by GitHub
2 changed files with 2 additions and 1 deletions
@@ -43,7 +43,7 @@ export default class Embed extends React.Component {
{t('framework.my_profile')}
</Tab>,
];
if (can(user, 'UPDATE_CONFIG')) {
if (can(user, 'UPDATE_ASSET_CONFIG')) {
tabs.push(
<Tab
key="config"
+1
View File
@@ -33,6 +33,7 @@ const basicRoles = {
};
const queryRoles = {
UPDATE_ASSET_CONFIG: [ADMIN, MODERATOR],
UPDATE_CONFIG: [ADMIN],
ACCESS_ADMIN: [ADMIN, MODERATOR],
VIEW_USER_EMAILS: [ADMIN],