mirror of
https://github.com/RocketChat/Rocket.Chat.git
synced 2025-12-28 06:47:25 +00:00
16 lines
347 B
TypeScript
16 lines
347 B
TypeScript
import { Permissions } from '@rocket.chat/models';
|
|
|
|
import { addMigration } from '../../lib/migrations';
|
|
|
|
addMigration({
|
|
version: 328,
|
|
name: 'Remove Old Voip Permissions',
|
|
async up() {
|
|
await Permissions.deleteMany({
|
|
_id: {
|
|
$in: ['manage-voip-extensions', 'view-user-voip-extension', 'view-voip-extension-details'],
|
|
},
|
|
});
|
|
},
|
|
});
|