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/ee/app/authorization/client/index.ts

15 lines
284 B

import { Meteor } from 'meteor/meteor';
import { addRoleRestrictions } from '../lib/addRoleRestrictions';
Meteor.startup(() => {
Meteor.call('license:isEnterprise', (err: any, result: any) => {
if (err) {
throw err;
}
if (result) {
addRoleRestrictions();
}
});
});