Chore: Remove the `mobile-download-file` permission (#23996)
* Add migration to remove the mobile-download-file permission * Remove permission from upsertPermissionspull/23843/head
parent
c98d48e150
commit
01985bc5b2
@ -0,0 +1,9 @@ |
||||
import { addMigration } from '../../lib/migrations'; |
||||
import { Permissions } from '../../../app/models/server/raw'; |
||||
|
||||
addMigration({ |
||||
version: 250, |
||||
up() { |
||||
Permissions.removeById('mobile-download-file'); |
||||
}, |
||||
}); |
Loading…
Reference in new issue