The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Rocket.Chat/app/integrations/client/startup.js

14 lines
440 B

import { hasAtLeastOnePermission } from '../../authorization';
import { registerAdminSidebarItem } from '../../../client/views/admin';
registerAdminSidebarItem({
href: 'admin-integrations',
i18nLabel: 'Integrations',
icon: 'code',
permissionGranted: () => hasAtLeastOnePermission([
'manage-outgoing-integrations',
'manage-own-outgoing-integrations',
'manage-incoming-integrations',
'manage-own-incoming-integrations',
]),
});