chore!: removes view-history permission (#33042)
Co-authored-by: Guilherme Gazzo <guilhermegazzo@gmail.com>pull/33628/head
parent
a5fb789e2e
commit
c20e02d8c4
@ -0,0 +1,5 @@ |
||||
--- |
||||
"@rocket.chat/meteor": major |
||||
--- |
||||
|
||||
Removes `view-history` permission due to lack of usage |
||||
@ -0,0 +1,11 @@ |
||||
import { Permissions } from '@rocket.chat/models'; |
||||
|
||||
import { addMigration } from '../../lib/migrations'; |
||||
|
||||
addMigration({ |
||||
version: 305, |
||||
name: 'Remove unused view-history permission', |
||||
async up() { |
||||
await Permissions.deleteOne({ _id: 'view-history' }); |
||||
}, |
||||
}); |
||||
Loading…
Reference in new issue