[TESTS] Test in docker (#2290)

* Add docker env with orchestration

* Update detox, update mocha config format

* One simulator at a time - mocha won't run parallel

* Docker runner, with test changes to match RC data

* Better error trapping in infrastructure control script

* Swap user provisioning from Mongo to RC API to work against existing servers

* Add docker to e2e readme

* Stop using example.com for emails

* Default detox to the tests directory

* Add working configs for both run scenarios

* Add some optional forcing of data.js version for Docker
This commit is contained in:
Dan Caseley 2020-07-15 17:28:34 +01:00 committed by GitHub
parent bbe15b7e41
commit 3f83daa31a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
46 changed files with 2433 additions and 175 deletions

2
.gitignore vendored
View File

@ -59,3 +59,5 @@ buck-out/
coverage coverage
.vscode/ .vscode/
e2e/docker/rc_test_env/docker-compose.yml
e2e/docker/data/db

6
e2e/.mocharc.json Normal file
View File

@ -0,0 +1,6 @@
{
"timeout": 300000,
"recursive": true,
"bail": true,
"file":"e2e/tests/init.js"
}

View File

@ -9,24 +9,27 @@
### 1. Prepare test environment ### 1. Prepare test environment
#### 1.1. Set up local Rocket Chat server #### 1.1. A Rocket.Chat server
Either
* Install Rocket Chat meteor app by following this [guide](https://rocket.chat/docs/developer-guides/quick-start). * Install Rocket Chat meteor app by following this [guide](https://rocket.chat/docs/developer-guides/quick-start).
Or
* Use the local Docker environment available in this folder. You can start the environment using `./e2e/docker/controlRCDemoEnv.sh startandwait`, or you can use the packaged start & run script (see step 3). Either way, you'll need [Docker](https://docs.docker.com/engine/install/) and [Docker Compose](https://docs.docker.com/compose/install/).
#### 1.2. Set up detox #### 1.2. Set up detox
* Install dependencies by following this [guide](https://github.com/wix/Detox/blob/master/docs/Introduction.GettingStarted.md#step-1-install-dependencies) (only Step 1). * Install dependencies by following this [guide](https://github.com/wix/Detox/blob/master/docs/Introduction.GettingStarted.md#step-1-install-dependencies) (only Step 1).
### 2. Prepare test data ### 2. Prepare test data
* Run Rocket Chat meteor app: `meteor npm start` (make sure you to run this command from project that you created on Step 1.1.). * If you're running your own Rocket.Chat server, ensure it's started (e.g. `meteor npm start` in the server project directory).
* Open `localhost:3000` in browser. * Edit `e2e/data.js`:
* Sign up as admin. * Set the `server` to the address of the server under test
* Create public room `detox-public`. * Set the `adminUser` and `adminPassword` to an admin user on that environment (or a user with at least `create-user` and `create-c`).
* Create user with role: `user`, username: `detoxrn`, email: `YOUR@EMAIL.COM`, password: `123`. * Working example configs exist in `./e2e/data/`. Setting `FORCE_DEFAULT_DOCKER_DATA` to `1` in the `runTestsInDocker.sh` script will use the example config automatically
* Create user with role: `user`, username: `YOUR.NAME`, email: `YOUR.SECOND@EMAIL.COM`, password: `123`.
* In file `e2e/data.js` change values `existingEmail` with `YOUR.SECOND@EMAIL.COM`, `existingName` with `YOUR.NAME`.
* Login as user `detoxrn` -> open My Account -> Security tab -> click "Enable two-factor authentication" -> copy TTOLP code -> paste TTOLP code into `./e2e/data.js` file into field: `alternateUserTOTPSecret`.
### 3. Running tests ### 3. Running tests
@ -34,7 +37,7 @@
* Build app with detox: `detox build -c ios.sim.release` * Build app with detox: `detox build -c ios.sim.release`
* Open Simulator which is used in tests (check in package.json under detox section) from Xcode and make sure that software keyboard is being displayed. To toggle keyboard press `cmd+K`. * Open Simulator which is used in tests (check in package.json under detox section) from Xcode and make sure that software keyboard is being displayed. To toggle keyboard press `cmd+K`.
* Run tests: `detox test -c ios.sim.release` * Run tests: `detox test -c ios.sim.release`, or, if choosing Docker you can run the packaged environment & runner (`./e2e/docker/runTestsInDocker.sh`) which will start the Docker infrastructure, run the tests and tear it down again once done.
#### 3.2. Android #### 3.2. Android
@ -50,6 +53,10 @@ Tests have been grouped into subfolders. You can choose to run just one group of
`detox test ./e2e/tests/onboarding -c ios.sim.release` `detox test ./e2e/tests/onboarding -c ios.sim.release`
To do the same with the Docker runner:
`./e2e/docker/runTestsInDocker.sh onboarding`
### 4. FAQ ### 4. FAQ
#### 4.1. Detox build fails #### 4.1. Detox build fails
@ -68,3 +75,10 @@ Tests have been grouped into subfolders. You can choose to run just one group of
* Make sure software keyboard is displayed in simulator when focusing some input. To enable keyboard press `cmd+K`. * Make sure software keyboard is displayed in simulator when focusing some input. To enable keyboard press `cmd+K`.
* Make sure you have prepared all [test data](##-2.-Prepare-test-data). * Make sure you have prepared all [test data](##-2.-Prepare-test-data).
* Sometimes detox e2e tests fail for no reason so all you can do is simply re-run again. * Sometimes detox e2e tests fail for no reason so all you can do is simply re-run again.
### 5. Todo
* TOTP test
* Push notifications
* Deep linking
* Intermittent connectivity

View File

@ -1,16 +1,43 @@
const random = require('./helpers/random'); const random = require('./helpers/random');
const value = random(20); const value = random(20);
const data = { const data = {
server: 'https://ilarion.rocket.chat', server: 'https://mobile.rocket.chat',
adminUser: 'e2e_admin',
adminPassword: 'p7mFh4yLwCRXSnMvG',
alternateServer: 'https://stable.rocket.chat', alternateServer: 'https://stable.rocket.chat',
user: `user${ value }`, users: {
regular: {
username: `userone${ value }`,
password: '123',
email: `diego.mello+regular${ value }@rocket.chat`
},
alternate: {
username: `usertwo${ value }`,
password: '123',
email: `diego.mello+alternate${ value }@rocket.chat`,
totpSecret: 'NA4GOMZGHBQSK6KEFRVT62DMGJJGSYZJFZIHO3ZOGVXWCYZ6MMZQ'
},
profileChanges: {
username: `userthree${ value }`,
password: '123',
email: `diego.mello+profileChanges${ value }@rocket.chat`
},
existing: {
username: `existinguser${ value }`,
password: '123',
email: `diego.mello+existing${ value }@rocket.chat`
}
},
channels: {
public: {
name: 'detox-public'
}
},
registeringUser: {
username: `newuser${ value }`,
password: `password${ value }`, password: `password${ value }`,
alternateUser: 'detoxrn', email: `diego.mello+registering${ value }@rocket.chat`
alternateUserPassword: '123', },
alternateUserTOTPSecret: 'NFXHKKC6FJXESL25HBYTYNSFKR4WCTSXFRKUUVKEOBBC6I3JKI7A',
existingEmail: 'diego.mello@rocket.chat',
existingName: 'diego.mello',
email: `diego.mello+e2e${ value }@rocket.chat`,
random: value random: value
} }
module.exports = data; module.exports = data;

43
e2e/data/data.cloud.js Normal file
View File

@ -0,0 +1,43 @@
const random = require('./helpers/random');
const value = random(20);
const data = {
server: 'https://mobile.rocket.chat',
adminUser: 'e2e_admin',
adminPassword: 'p7mFh4yLwCRXSnMvG',
alternateServer: 'https://stable.rocket.chat',
users: {
regular: {
username: `userone${ value }`,
password: '123',
email: `diego.mello+regular${ value }@rocket.chat`
},
alternate: {
username: `usertwo${ value }`,
password: '123',
email: `diego.mello+alternate${ value }@rocket.chat`,
totpSecret: 'NA4GOMZGHBQSK6KEFRVT62DMGJJGSYZJFZIHO3ZOGVXWCYZ6MMZQ'
},
profileChanges: {
username: `userthree${ value }`,
password: '123',
email: `diego.mello+profileChanges${ value }@rocket.chat`
},
existing: {
username: `existinguser${ value }`,
password: '123',
email: `diego.mello+existing${ value }@rocket.chat`
}
},
channels: {
public: {
name: 'detox-public'
}
},
registeringUser: {
username: `newuser${ value }`,
password: `password${ value }`,
email: `diego.mello+registering${ value }@rocket.chat`
},
random: value
}
module.exports = data;

43
e2e/data/data.docker.js Normal file
View File

@ -0,0 +1,43 @@
const random = require('./helpers/random');
const value = random(20);
const data = {
server: 'http://127.0.0.1:3000',
adminUser: 'admin',
adminPassword: 'password',
alternateServer: 'https://stable.rocket.chat',
users: {
regular: {
username: `userone${ value }`,
password: '123',
email: `diego.mello+regular${ value }@rocket.chat`
},
alternate: {
username: `usertwo${ value }`,
password: '123',
email: `diego.mello+alternate${ value }@rocket.chat`,
totpSecret: 'NA4GOMZGHBQSK6KEFRVT62DMGJJGSYZJFZIHO3ZOGVXWCYZ6MMZQ'
},
profileChanges: {
username: `userthree${ value }`,
password: '123',
email: `diego.mello+profileChanges${ value }@rocket.chat`
},
existing: {
username: `existinguser${ value }`,
password: '123',
email: `diego.mello+existing${ value }@rocket.chat`
}
},
channels: {
public: {
name: 'detox-public'
}
},
registeringUser: {
username: `newuser${ value }`,
password: `password${ value }`,
email: `diego.mello+registering${ value }@rocket.chat`
},
random: value
}
module.exports = data;

70
e2e/docker/controlRCDemoEnv.sh Executable file
View File

@ -0,0 +1,70 @@
#!/bin/bash
SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )"
PAUSE_ON_FAIL_FOR_DEBUG=0
COMMAND="start"
if [ "$1" != "" ]; then
if [[ "$1" =~ ^(start|startandwait|stop)$ ]]; then
COMMAND=$1
else
echo "Invalid command. Must be one of: start,stop"
exit 1
fi
fi
WAIT=0
if [ "$COMMAND" == "startandwait" ]; then
COMMAND="start"
WAIT=1
fi
COMPOSEPATH="$SCRIPTPATH/rc_test_env"
export DATAROOT="$SCRIPTPATH"
if [ "$COMMAND" == "start" ]; then
echo "Fetching infrastructure config from GitHub"
COMPOSEURL=https://raw.githubusercontent.com/RocketChat/Rocket.Chat/develop/docker-compose.yml
COMPOSEFILE="$COMPOSEPATH/docker-compose.yml"
curl -s "$COMPOSEURL" -o "$COMPOSEFILE"
echo "Starting infrastructure"
(
if [ -d "$SCRIPTPATH/data/db" ]; then rm -rf "$SCRIPTPATH/data/db"; fi
cd "$COMPOSEPATH"
docker-compose up -d
)
if [ $WAIT == 1 ]; then
echo "Waiting for RocketChat to be ready"
ATTEMPT_NUMBER=0
MAX_ATTEMPTS=60
while [ $ATTEMPT_NUMBER -lt $MAX_ATTEMPTS ]; do # https://stackoverflow.com/a/21189312/399007
ATTEMPT_NUMBER=$((ATTEMPT_NUMBER + 1 ))
echo "Waiting for server to be up ($ATTEMPT_NUMBER of $MAX_ATTEMPTS)"
LOGS=$(docker logs rc_test_env_rocketchat_1 2> /dev/null)
if grep -q 'SERVER RUNNING' <<< $LOGS ; then
echo "RocketChat is ready!"
break
else
if [ $ATTEMPT_NUMBER == $MAX_ATTEMPTS ]; then
echo "RocketChat failed to start"
if [ $PAUSE_ON_FAIL_FOR_DEBUG == 1 ]; then
read -n 1 -s -r -p "Press any key to tear down infrastructure." && echo
fi
docker-compose down --volumes
exit 1
fi
fi
sleep 4
done
fi
fi
if [ "$COMMAND" == "stop" ]; then
(
cd "$COMPOSEPATH"
docker-compose down --volumes
)
fi

View File

@ -0,0 +1,11 @@
rs.initiate({
_id: 'rs0',
members: [ { _id: 0, host: 'localhost:27017' } ]})
var masterness = db.isMaster().ismaster
print("MongoDB Master initial state: " + masterness)
while(db.isMaster().ismaster==false) {
print("Waiting for MongoDB election")
sleep(1000)
}
print("Election complete! Ready for data imports.")

View File

@ -0,0 +1 @@
db.getCollection("migrations").insert({"_id":"control","locked":false,"version":NumberInt(188),"buildAt":"2020-05-11T19:06:54.422Z","lockedAt":new Date(1591734393789)});

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
db.getCollection("rocketchat_avatars.files").insert({"_id":"MKBNfes8gxMXWJ92Q","length":NumberInt(15150),"chunkSize":NumberInt(261120),"uploadDate":new Date(1584022383269),"filename":"MKBNfes8gxMXWJ92Q","md5":"c9b8c0bcfb357aad6776c79e01cfe337","contentType":"image/png"});

View File

@ -0,0 +1 @@
db.getCollection("rocketchat_avatars").insert({"_id":"MKBNfes8gxMXWJ92Q","userId":"rocket.cat","type":"image/png","size":NumberInt(15150),"store":"GridFS:Avatars","_updatedAt":new Date(1584022383071),"instanceId":"DazcJz4ePrpaT9fhB","name":"rocket.cat","complete":true,"etag":"epCf7uvbjuLqxn5ug","path":"/ufs/GridFS:Avatars/MKBNfes8gxMXWJ92Q/undefined","progress":NumberInt(1),"token":"b8AB381B99","uploadedAt":new Date(1584022383291),"uploading":false,"url":"http://localhost:3000/ufs/GridFS:Avatars/MKBNfes8gxMXWJ92Q/undefined"});

View File

@ -0,0 +1 @@
db.getCollection("rocketchat_custom_user_status").insert({"_id":"y7RDq6exjSuqdxvgT","name":"Pensive","statusType":"busy","_updatedAt":new Date(1589466480022)});

View File

@ -0,0 +1,2 @@
db.getCollection("rocketchat_federation_keys").insert({"_id":"HR8NWWXvRYsNCuAj2","type":"private","key":"-----BEGIN PRIVATE KEY-----MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQC9Ke0tvSqzbs+UlI/tFdME1SS5J30oYQB6vKZYiC7Wjbfg5dOnMB+l3kKwAtKHQw2nfZynNgnVzuksyvn+c7mw6Wnd+HM9EUYIhtBMsaonBDL0seMgo1dX2qGq2DyU46QhBmnT1NJTze966leYQK2csUoxsW3/A+kqVse1vaGtTD9e76rqhlICXBfYMkHfWWwfWjwq1yvk7AJ1p622ukTaJkQruCDn84sMQZB+rHEfD/e6Ggdr/+6BPhMNbN17jrvW1lolG4lNrNXBGH85Pn74ao79XWTPpgn75KV1ClBkSbdq/kn+rolKX5NLjg7LRwRBIlj7rqBEh+VzGsURu6IxAgMBAAECggEAUyuvA9BLiQ8sp8hWK8jPui0480vAhNN5kX2GqiBeb6lp8rE6SSUolRZPPfJPvHcn9r+M9BwXYPGTpkUse8tIFtfZ22XUzUHeB/u2dDIdfQAko1/fXEdVLOSM9oASyuf4DykxuJi3TW+bXvDQSLoPW3i8BXNcyKZgi2QSdP8Gqhm9KrUjMays9DlU7Wna8RonVz5YP4MRhDalbGT4vX17rxTDCaN/dKHsCPRZbfBzvR4QJ6sxMhMefzH7qPiBY+p2lFt4Wr/JtZiOzbRqHi2QMoTmEjSwmIeU9ClQECUq3JJSPM7FH+1Yy+9iCQGTG4VAiwFAShjRJQG7dlGPNpdcwQKBgQDtErmAZIS12KPBfC7tIZ3QUi6ed6jSL4yCd7+8iL4Awbd8b98Z0XZPh2Nl55dR6RGhDBDen8fXKaoTA+aosuzt40KrXqXMAxEBI8Uu6BijpWdvtyhdUjLCGspQQCkZcI2TAO0DFzYwZl1Nk38ep8JF+s2vHdq92oltY1WBOv0V6QKBgQDMRAkNfcodAyakmvpK5dOgsXIE+MuaAqEPZrXMUtgfju+Z18+HkiVX7FARbWhRJzY8Zw5riK/hqR0V6SF5JPVmp9+nk7h7mQles0bJ23hDiTJK13wWXD+NZF2O3IGFr83ixHJvlDqxYmCEUGQwvocmfB4setaZ0oJzDOjeTuPVCQKBgQDkbXVV1ATXXs2ygeCJVinEb1tCD5QYKf6eO5oApFVHT2BnwzdZniz8RjytFPAF2afF4GVkzNn2ZMveFJUsmXKXaLF1g/YG1DGPQpMdNj9/dsFqsDVxbeFAjCXCG4A+ZefT7EFzB+uLySY/uE31ELmtShLjl8WLx0VBpEPgCCGR+QKBgQCcA7sGWvVsg2OYheZ2HmQtcFquAXlBAJETuldQ4FXChOHslzEjUzTCmvPs26u5kEGUkQIqkBQGP6y/d3jhlqD472+cBu/5N0I42qVOuBp7Oub20u8sBPllfSsYWsNy4HxYn8LoBkduBL3DUcO0l1GSy2ogfxI6GtcYGNwkMA1EQQKBgH515MrbH+CQQarDtc21V7fCXtq95RO10dUt5dXIV0XYaOUkun3JQ4MQ3n0cprZe1DX/pSoMR3sb7jMt8LGMl71TxNWSubIEpYvXxHxPfPX2ZZ2Epxd+yOd3qLCoTrN3f2t0Xb9g3RiYESM5D/XT6ahFZDeTl/vhK4w0dgrjOMPR-----END PRIVATE KEY-----","_updatedAt":new Date(1584022372590)});
db.getCollection("rocketchat_federation_keys").insert({"_id":"Kbs7RovpL87fynDH3","type":"public","key":"-----BEGIN PUBLIC KEY-----MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvSntLb0qs27PlJSP7RXTBNUkuSd9KGEAerymWIgu1o234OXTpzAfpd5CsALSh0MNp32cpzYJ1c7pLMr5/nO5sOlp3fhzPRFGCIbQTLGqJwQy9LHjIKNXV9qhqtg8lOOkIQZp09TSU83veupXmECtnLFKMbFt/wPpKlbHtb2hrUw/Xu+q6oZSAlwX2DJB31lsH1o8Ktcr5OwCdaettrpE2iZEK7gg5/OLDEGQfqxxHw/3uhoHa//ugT4TDWzde4671tZaJRuJTazVwRh/OT5++GqO/V1kz6YJ++SldQpQZEm3av5J/q6JSl+TS44Oy0cEQSJY+66gRIflcxrFEbuiMQIDAQAB-----END PUBLIC KEY-----","_updatedAt":new Date(1584022372598)});

View File

@ -0,0 +1,7 @@
db.getCollection("rocketchat_livechat_office_hour").insert({"_id":"25cEkE4HYJepqYdSQ","day":"Saturday","start":"08:00","finish":"20:00","code":NumberInt(6),"open":false,"_updatedAt":new Date(1584022357707)});
db.getCollection("rocketchat_livechat_office_hour").insert({"_id":"CQAfqmpYCv6WC7MTQ","day":"Tuesday","start":"08:00","finish":"20:00","code":NumberInt(2),"open":true,"_updatedAt":new Date(1584022357689)});
db.getCollection("rocketchat_livechat_office_hour").insert({"_id":"GBNmEQYQGDEX9tQ4j","day":"Sunday","start":"08:00","finish":"20:00","code":NumberInt(0),"open":false,"_updatedAt":new Date(1584022357710)});
db.getCollection("rocketchat_livechat_office_hour").insert({"_id":"TYvTiTSorTPKiH8mF","day":"Wednesday","start":"08:00","finish":"20:00","code":NumberInt(3),"open":true,"_updatedAt":new Date(1584022357697)});
db.getCollection("rocketchat_livechat_office_hour").insert({"_id":"WeLuoHz3Kz8figd9M","day":"Thursday","start":"08:00","finish":"20:00","code":NumberInt(4),"open":true,"_updatedAt":new Date(1584022357698)});
db.getCollection("rocketchat_livechat_office_hour").insert({"_id":"e9t67H2WnZvpiSJQd","day":"Monday","start":"08:00","finish":"20:00","code":NumberInt(1),"open":true,"_updatedAt":new Date(1584022357676)});
db.getCollection("rocketchat_livechat_office_hour").insert({"_id":"rzLMR3aBY3oyBexHf","day":"Friday","start":"08:00","finish":"20:00","code":NumberInt(5),"open":true,"_updatedAt":new Date(1584022357702)});

View File

@ -0,0 +1 @@
db.getCollection("rocketchat_message").insert({"_id":"fsy2dZJgmmboowJ8N","t":"uj","rid":"GENERAL","ts":new Date(1584022608462),"msg":"admin","u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin"},"groupable":false,"_updatedAt":new Date(1584022608462)});

View File

@ -0,0 +1 @@
db.getCollection("rocketchat_oauth_apps").insert({"_id":"zapier","name":"Zapier","active":true,"clientId":"zapier","clientSecret":"RTK6TlndaCIolhQhZ7_KHIGOKj41RnlaOq_o-7JKwLr","redirectUri":"https://zapier.com/dashboard/auth/oauth/return/RocketChatDevAPI/","_createdAt":new Date(1584022375172),"_createdBy":{"_id":"system","username":"system"},"_updatedAt":new Date(1584022375172)});

View File

@ -0,0 +1,993 @@
db.getCollection("rocketchat_permissions").insert({"_id":"access-mailer","_updatedAt":new Date(1591734399923),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"access-permissions","_updatedAt":new Date(1584022378380),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"access-setting-permissions","_updatedAt":new Date(1584022378383),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"add-livechat-department-agents","_updatedAt":new Date(1584022378683),"roles":["livechat-manager","admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"add-oauth-service","_updatedAt":new Date(1584022378385),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"add-user-to-any-c-room","_updatedAt":new Date(1584022378392),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"add-user-to-any-p-room","_updatedAt":new Date(1584022378396),"roles":[]});
db.getCollection("rocketchat_permissions").insert({"_id":"add-user-to-joined-room","_updatedAt":new Date(1584022378388),"roles":["admin","owner","moderator"]});
db.getCollection("rocketchat_permissions").insert({"_id":"api-bypass-rate-limit","_updatedAt":new Date(1584022378399),"roles":["admin","bot","app"]});
db.getCollection("rocketchat_permissions").insert({"_id":"archive-room","_updatedAt":new Date(1584022378402),"roles":["admin","owner"]});
db.getCollection("rocketchat_permissions").insert({"_id":"assign-admin-role","_updatedAt":new Date(1584022378405),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"assign-roles","_updatedAt":new Date(1584022378408),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"auto-translate","roles":["admin"],"_updatedAt":new Date(1584022380607)});
db.getCollection("rocketchat_permissions").insert({"_id":"ban-user","_updatedAt":new Date(1584022378411),"roles":["admin","owner","moderator"]});
db.getCollection("rocketchat_permissions").insert({"_id":"bulk-register-user","_updatedAt":new Date(1584022378415),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"call-management","_updatedAt":new Date(1584022378628),"roles":["admin","owner","moderator"]});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-API_Allow_Infinite_Count","_updatedAt":new Date(1591734395024),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"section":"REST API","sectionPermissionId":"change-setting-REST API","settingId":"API_Allow_Infinite_Count","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-API_CORS_Origin","_updatedAt":new Date(1591734395041),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"section":"REST API","sectionPermissionId":"change-setting-REST API","settingId":"API_CORS_Origin","sorter":NumberInt(8)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-API_Default_Count","_updatedAt":new Date(1591734395020),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"section":"REST API","sectionPermissionId":"change-setting-REST API","settingId":"API_Default_Count","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-API_Drupal_URL","_updatedAt":new Date(1591734395975),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Drupal","sectionPermissionId":"change-setting-Drupal","settingId":"API_Drupal_URL","sorter":NumberInt(40)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-API_Embed","_updatedAt":new Date(1591734395629),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"API_Embed","sorter":NumberInt(20)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-API_EmbedCacheExpirationDays","_updatedAt":new Date(1591734395634),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"API_EmbedCacheExpirationDays","sorter":NumberInt(22)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-API_EmbedDisabledFor","_updatedAt":new Date(1591734395638),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"API_EmbedDisabledFor","sorter":NumberInt(24)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-API_EmbedIgnoredHosts","_updatedAt":new Date(1591734395640),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"API_EmbedIgnoredHosts","sorter":NumberInt(25)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-API_EmbedSafePorts","_updatedAt":new Date(1591734395642),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"API_EmbedSafePorts","sorter":NumberInt(26)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-API_Embed_UserAgent","_updatedAt":new Date(1591734395631),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"API_Embed_UserAgent","sorter":NumberInt(21)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-API_Embed_clear_cache_now","_updatedAt":new Date(1591734395636),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"API_Embed_clear_cache_now","sorter":NumberInt(23)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-API_Enable_CORS","_updatedAt":new Date(1591734395038),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"section":"REST API","sectionPermissionId":"change-setting-REST API","settingId":"API_Enable_CORS","sorter":NumberInt(7)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-API_Enable_Direct_Message_History_EndPoint","_updatedAt":new Date(1591734395029),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"section":"REST API","sectionPermissionId":"change-setting-REST API","settingId":"API_Enable_Direct_Message_History_EndPoint","sorter":NumberInt(3)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-API_Enable_Rate_Limiter","_updatedAt":new Date(1591734395845),"group":"Rate Limiter","groupPermissionId":"change-setting-Rate Limiter","level":"settings","roles":[],"section":"API Rate Limiter","sectionPermissionId":"change-setting-API Rate Limiter","settingId":"API_Enable_Rate_Limiter","sorter":NumberInt(15)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-API_Enable_Rate_Limiter_Dev","_updatedAt":new Date(1591734395847),"group":"Rate Limiter","groupPermissionId":"change-setting-Rate Limiter","level":"settings","roles":[],"section":"API Rate Limiter","sectionPermissionId":"change-setting-API Rate Limiter","settingId":"API_Enable_Rate_Limiter_Dev","sorter":NumberInt(16)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-API_Enable_Rate_Limiter_Limit_Calls_Default","_updatedAt":new Date(1591734395850),"group":"Rate Limiter","groupPermissionId":"change-setting-Rate Limiter","level":"settings","roles":[],"section":"API Rate Limiter","sectionPermissionId":"change-setting-API Rate Limiter","settingId":"API_Enable_Rate_Limiter_Limit_Calls_Default","sorter":NumberInt(17)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-API_Enable_Rate_Limiter_Limit_Time_Default","_updatedAt":new Date(1591734395853),"group":"Rate Limiter","groupPermissionId":"change-setting-Rate Limiter","level":"settings","roles":[],"section":"API Rate Limiter","sectionPermissionId":"change-setting-API Rate Limiter","settingId":"API_Enable_Rate_Limiter_Limit_Time_Default","sorter":NumberInt(18)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-API_Enable_Shields","_updatedAt":new Date(1591734395033),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"section":"REST API","sectionPermissionId":"change-setting-REST API","settingId":"API_Enable_Shields","sorter":NumberInt(4)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-API_GitHub_Enterprise_URL","_updatedAt":new Date(1591734395995),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"GitHub Enterprise","sectionPermissionId":"change-setting-GitHub Enterprise","settingId":"API_GitHub_Enterprise_URL","sorter":NumberInt(45)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-API_Gitlab_URL","_updatedAt":new Date(1591734396003),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"GitLab","sectionPermissionId":"change-setting-GitLab","settingId":"API_Gitlab_URL","sorter":NumberInt(50)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-API_Shield_Types","_updatedAt":new Date(1591734395036),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"section":"REST API","sectionPermissionId":"change-setting-REST API","settingId":"API_Shield_Types","sorter":NumberInt(5)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-API_Shield_user_require_auth","_updatedAt":new Date(1591734396876),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"section":"REST API","sectionPermissionId":"change-setting-REST API","settingId":"API_Shield_user_require_auth","sorter":NumberInt(6)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-API_Tokenpass_URL","_updatedAt":new Date(1591734395924),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Tokenpass","sectionPermissionId":"change-setting-Tokenpass","settingId":"API_Tokenpass_URL","sorter":NumberInt(27)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-API_Upper_Count_Limit","_updatedAt":new Date(1591734395017),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"section":"REST API","sectionPermissionId":"change-setting-REST API","settingId":"API_Upper_Count_Limit","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-API_Use_REST_For_DDP_Calls","_updatedAt":new Date(1591734396878),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"section":"REST API","sectionPermissionId":"change-setting-REST API","settingId":"API_Use_REST_For_DDP_Calls","sorter":NumberInt(9)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-API_User_Limit","_updatedAt":new Date(1591734395574),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"section":"REST API","sectionPermissionId":"change-setting-REST API","settingId":"API_User_Limit","sorter":NumberInt(37)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-API_Wordpress_URL","_updatedAt":new Date(1591734396252),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"WordPress","sectionPermissionId":"change-setting-WordPress","settingId":"API_Wordpress_URL","sorter":NumberInt(65)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts","_updatedAt":new Date(1591734399044),"level":"settings","roles":[],"settingId":"Accounts"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_AllowAnonymousRead","_updatedAt":new Date(1591734395248),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"settingId":"Accounts_AllowAnonymousRead","sorter":NumberInt(6)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_AllowAnonymousWrite","_updatedAt":new Date(1591734395250),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"settingId":"Accounts_AllowAnonymousWrite","sorter":NumberInt(7)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_AllowDeleteOwnAccount","_updatedAt":new Date(1591734395252),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"settingId":"Accounts_AllowDeleteOwnAccount","sorter":NumberInt(8)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_AllowEmailChange","_updatedAt":new Date(1591734395265),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"settingId":"Accounts_AllowEmailChange","sorter":NumberInt(14)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_AllowEmailNotifications","_updatedAt":new Date(1591734395269),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"settingId":"Accounts_AllowEmailNotifications","sorter":NumberInt(16)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_AllowPasswordChange","_updatedAt":new Date(1591734395267),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"settingId":"Accounts_AllowPasswordChange","sorter":NumberInt(15)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_AllowRealNameChange","_updatedAt":new Date(1591734395258),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"settingId":"Accounts_AllowRealNameChange","sorter":NumberInt(11)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_AllowUserAvatarChange","_updatedAt":new Date(1591734395256),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"settingId":"Accounts_AllowUserAvatarChange","sorter":NumberInt(10)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_AllowUserProfileChange","_updatedAt":new Date(1591734395254),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"settingId":"Accounts_AllowUserProfileChange","sorter":NumberInt(9)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_AllowUserStatusMessageChange","_updatedAt":new Date(1591734395261),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"settingId":"Accounts_AllowUserStatusMessageChange","sorter":NumberInt(12)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_AllowUsernameChange","_updatedAt":new Date(1591734395263),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"settingId":"Accounts_AllowUsernameChange","sorter":NumberInt(13)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_AllowedDomainsList","_updatedAt":new Date(1591734395313),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Registration","sectionPermissionId":"change-setting-Registration","settingId":"Accounts_AllowedDomainsList","sorter":NumberInt(34)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_AvatarBlockUnauthenticatedAccess","_updatedAt":new Date(1591734395436),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Avatar","sectionPermissionId":"change-setting-Avatar","settingId":"Accounts_AvatarBlockUnauthenticatedAccess","sorter":NumberInt(81)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_AvatarCacheTime","_updatedAt":new Date(1591734395434),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Avatar","sectionPermissionId":"change-setting-Avatar","settingId":"Accounts_AvatarCacheTime","sorter":NumberInt(80)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_AvatarExternalProviderUrl","_updatedAt":new Date(1591734395430),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Avatar","sectionPermissionId":"change-setting-Avatar","settingId":"Accounts_AvatarExternalProviderUrl","sorter":NumberInt(79)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_AvatarResize","_updatedAt":new Date(1591734395425),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Avatar","sectionPermissionId":"change-setting-Avatar","settingId":"Accounts_AvatarResize","sorter":NumberInt(77)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_AvatarSize","_updatedAt":new Date(1591734395428),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Avatar","sectionPermissionId":"change-setting-Avatar","settingId":"Accounts_AvatarSize","sorter":NumberInt(78)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_BlockedDomainsList","_updatedAt":new Date(1591734395316),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Registration","sectionPermissionId":"change-setting-Registration","settingId":"Accounts_BlockedDomainsList","sorter":NumberInt(35)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_BlockedUsernameList","_updatedAt":new Date(1591734395318),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Registration","sectionPermissionId":"change-setting-Registration","settingId":"Accounts_BlockedUsernameList","sorter":NumberInt(36)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_ConfirmPasswordPlaceholder","_updatedAt":new Date(1591734395283),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"settingId":"Accounts_ConfirmPasswordPlaceholder","sorter":NumberInt(22)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_CustomFields","_updatedAt":new Date(1591734395345),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Registration","sectionPermissionId":"change-setting-Registration","settingId":"Accounts_CustomFields","sorter":NumberInt(46)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_CustomFieldsToShowInUserInfo","_updatedAt":new Date(1591734395271),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"settingId":"Accounts_CustomFieldsToShowInUserInfo","sorter":NumberInt(17)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_DefaultUsernamePrefixSuggestion","_updatedAt":new Date(1591734395300),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Registration","sectionPermissionId":"change-setting-Registration","settingId":"Accounts_DefaultUsernamePrefixSuggestion","sorter":NumberInt(28)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Default_User_Preferences_audioNotifications","_updatedAt":new Date(1591734395367),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Accounts_Default_User_Preferences","sectionPermissionId":"change-setting-Accounts_Default_User_Preferences","settingId":"Accounts_Default_User_Preferences_audioNotifications","sorter":NumberInt(51)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Default_User_Preferences_autoImageLoad","_updatedAt":new Date(1591734395381),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Accounts_Default_User_Preferences","sectionPermissionId":"change-setting-Accounts_Default_User_Preferences","settingId":"Accounts_Default_User_Preferences_autoImageLoad","sorter":NumberInt(57)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Default_User_Preferences_collapseMediaByDefault","_updatedAt":new Date(1591734395385),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Accounts_Default_User_Preferences","sectionPermissionId":"change-setting-Accounts_Default_User_Preferences","settingId":"Accounts_Default_User_Preferences_collapseMediaByDefault","sorter":NumberInt(59)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Default_User_Preferences_convertAsciiEmoji","_updatedAt":new Date(1591734395379),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Accounts_Default_User_Preferences","sectionPermissionId":"change-setting-Accounts_Default_User_Preferences","settingId":"Accounts_Default_User_Preferences_convertAsciiEmoji","sorter":NumberInt(56)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Default_User_Preferences_desktopNotificationDuration","_updatedAt":new Date(1591734395361),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Accounts_Default_User_Preferences","sectionPermissionId":"change-setting-Accounts_Default_User_Preferences","settingId":"Accounts_Default_User_Preferences_desktopNotificationDuration","sorter":NumberInt(49)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Default_User_Preferences_desktopNotificationRequireInteraction","_updatedAt":new Date(1591734395365),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Accounts_Default_User_Preferences","sectionPermissionId":"change-setting-Accounts_Default_User_Preferences","settingId":"Accounts_Default_User_Preferences_desktopNotificationRequireInteraction","sorter":NumberInt(50)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Default_User_Preferences_desktopNotifications","_updatedAt":new Date(1591734395371),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Accounts_Default_User_Preferences","sectionPermissionId":"change-setting-Accounts_Default_User_Preferences","settingId":"Accounts_Default_User_Preferences_desktopNotifications","sorter":NumberInt(52)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Default_User_Preferences_emailNotificationMode","_updatedAt":new Date(1591734395413),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Accounts_Default_User_Preferences","sectionPermissionId":"change-setting-Accounts_Default_User_Preferences","settingId":"Accounts_Default_User_Preferences_emailNotificationMode","sorter":NumberInt(72)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Default_User_Preferences_enableAutoAway","_updatedAt":new Date(1591734395348),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Accounts_Default_User_Preferences","sectionPermissionId":"change-setting-Accounts_Default_User_Preferences","settingId":"Accounts_Default_User_Preferences_enableAutoAway","sorter":NumberInt(47)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Default_User_Preferences_hideAvatars","_updatedAt":new Date(1591734395396),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Accounts_Default_User_Preferences","sectionPermissionId":"change-setting-Accounts_Default_User_Preferences","settingId":"Accounts_Default_User_Preferences_hideAvatars","sorter":NumberInt(63)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Default_User_Preferences_hideFlexTab","_updatedAt":new Date(1591734395393),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Accounts_Default_User_Preferences","sectionPermissionId":"change-setting-Accounts_Default_User_Preferences","settingId":"Accounts_Default_User_Preferences_hideFlexTab","sorter":NumberInt(62)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Default_User_Preferences_hideRoles","_updatedAt":new Date(1591734395391),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Accounts_Default_User_Preferences","sectionPermissionId":"change-setting-Accounts_Default_User_Preferences","settingId":"Accounts_Default_User_Preferences_hideRoles","sorter":NumberInt(61)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Default_User_Preferences_hideUsernames","_updatedAt":new Date(1591734395388),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Accounts_Default_User_Preferences","sectionPermissionId":"change-setting-Accounts_Default_User_Preferences","settingId":"Accounts_Default_User_Preferences_hideUsernames","sorter":NumberInt(60)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Default_User_Preferences_idleTimeLimit","_updatedAt":new Date(1591734395359),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Accounts_Default_User_Preferences","sectionPermissionId":"change-setting-Accounts_Default_User_Preferences","settingId":"Accounts_Default_User_Preferences_idleTimeLimit","sorter":NumberInt(48)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Default_User_Preferences_messageViewMode","_updatedAt":new Date(1591734395410),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Accounts_Default_User_Preferences","sectionPermissionId":"change-setting-Accounts_Default_User_Preferences","settingId":"Accounts_Default_User_Preferences_messageViewMode","sorter":NumberInt(71)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Default_User_Preferences_mobileNotifications","_updatedAt":new Date(1591734395373),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Accounts_Default_User_Preferences","sectionPermissionId":"change-setting-Accounts_Default_User_Preferences","settingId":"Accounts_Default_User_Preferences_mobileNotifications","sorter":NumberInt(53)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Default_User_Preferences_muteFocusedConversations","_updatedAt":new Date(1591734395420),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Accounts_Default_User_Preferences","sectionPermissionId":"change-setting-Accounts_Default_User_Preferences","settingId":"Accounts_Default_User_Preferences_muteFocusedConversations","sorter":NumberInt(75)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Default_User_Preferences_newMessageNotification","_updatedAt":new Date(1591734395417),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Accounts_Default_User_Preferences","sectionPermissionId":"change-setting-Accounts_Default_User_Preferences","settingId":"Accounts_Default_User_Preferences_newMessageNotification","sorter":NumberInt(74)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Default_User_Preferences_newRoomNotification","_updatedAt":new Date(1591734395415),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Accounts_Default_User_Preferences","sectionPermissionId":"change-setting-Accounts_Default_User_Preferences","settingId":"Accounts_Default_User_Preferences_newRoomNotification","sorter":NumberInt(73)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Default_User_Preferences_notificationsSoundVolume","_updatedAt":new Date(1591734395423),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Accounts_Default_User_Preferences","sectionPermissionId":"change-setting-Accounts_Default_User_Preferences","settingId":"Accounts_Default_User_Preferences_notificationsSoundVolume","sorter":NumberInt(76)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Default_User_Preferences_saveMobileBandwidth","_updatedAt":new Date(1591734395383),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Accounts_Default_User_Preferences","sectionPermissionId":"change-setting-Accounts_Default_User_Preferences","settingId":"Accounts_Default_User_Preferences_saveMobileBandwidth","sorter":NumberInt(58)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Default_User_Preferences_sendOnEnter","_updatedAt":new Date(1591734395408),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Accounts_Default_User_Preferences","sectionPermissionId":"change-setting-Accounts_Default_User_Preferences","settingId":"Accounts_Default_User_Preferences_sendOnEnter","sorter":NumberInt(70)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Default_User_Preferences_sidebarGroupByType","_updatedAt":new Date(1591734395398),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Accounts_Default_User_Preferences","sectionPermissionId":"change-setting-Accounts_Default_User_Preferences","settingId":"Accounts_Default_User_Preferences_sidebarGroupByType","sorter":NumberInt(64)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Default_User_Preferences_sidebarHideAvatar","_updatedAt":new Date(1591734395402),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Accounts_Default_User_Preferences","sectionPermissionId":"change-setting-Accounts_Default_User_Preferences","settingId":"Accounts_Default_User_Preferences_sidebarHideAvatar","sorter":NumberInt(66)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Default_User_Preferences_sidebarShowDiscussion","_updatedAt":new Date(1591734400277),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Accounts_Default_User_Preferences","sectionPermissionId":"change-setting-Accounts_Default_User_Preferences","settingId":"Accounts_Default_User_Preferences_sidebarShowDiscussion","sorter":NumberInt(96)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Default_User_Preferences_sidebarShowFavorites","_updatedAt":new Date(1591734395406),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Accounts_Default_User_Preferences","sectionPermissionId":"change-setting-Accounts_Default_User_Preferences","settingId":"Accounts_Default_User_Preferences_sidebarShowFavorites","sorter":NumberInt(69)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Default_User_Preferences_sidebarShowUnread","_updatedAt":new Date(1591734395404),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Accounts_Default_User_Preferences","sectionPermissionId":"change-setting-Accounts_Default_User_Preferences","settingId":"Accounts_Default_User_Preferences_sidebarShowUnread","sorter":NumberInt(67)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Default_User_Preferences_sidebarSortby","_updatedAt":new Date(1591734396972),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Accounts_Default_User_Preferences","sectionPermissionId":"change-setting-Accounts_Default_User_Preferences","settingId":"Accounts_Default_User_Preferences_sidebarSortby","sorter":NumberInt(68)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Default_User_Preferences_sidebarViewMode","_updatedAt":new Date(1591734395400),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Accounts_Default_User_Preferences","sectionPermissionId":"change-setting-Accounts_Default_User_Preferences","settingId":"Accounts_Default_User_Preferences_sidebarViewMode","sorter":NumberInt(65)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Default_User_Preferences_unreadAlert","_updatedAt":new Date(1591734395375),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Accounts_Default_User_Preferences","sectionPermissionId":"change-setting-Accounts_Default_User_Preferences","settingId":"Accounts_Default_User_Preferences_unreadAlert","sorter":NumberInt(54)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Default_User_Preferences_useEmojis","_updatedAt":new Date(1591734395377),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Accounts_Default_User_Preferences","sectionPermissionId":"change-setting-Accounts_Default_User_Preferences","settingId":"Accounts_Default_User_Preferences_useEmojis","sorter":NumberInt(55)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Directory_DefaultView","_updatedAt":new Date(1591734395293),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"settingId":"Accounts_Directory_DefaultView","sorter":NumberInt(25)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_EmailOrUsernamePlaceholder","_updatedAt":new Date(1591734395278),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"settingId":"Accounts_EmailOrUsernamePlaceholder","sorter":NumberInt(20)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_EmailVerification","_updatedAt":new Date(1591734395306),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Registration","sectionPermissionId":"change-setting-Registration","settingId":"Accounts_EmailVerification","sorter":NumberInt(31)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Enrollment_Email","_updatedAt":new Date(1591734395203),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Registration","sectionPermissionId":"change-setting-Registration","settingId":"Accounts_Enrollment_Email","sorter":NumberInt(30)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Enrollment_Email_Subject","_updatedAt":new Date(1591734395200),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Registration","sectionPermissionId":"change-setting-Registration","settingId":"Accounts_Enrollment_Email_Subject","sorter":NumberInt(29)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_ForgetUserSessionOnWindowClose","_updatedAt":new Date(1591734395286),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"settingId":"Accounts_ForgetUserSessionOnWindowClose","sorter":NumberInt(23)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Iframe_api_method","_updatedAt":new Date(1591734399098),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Iframe","sectionPermissionId":"change-setting-Iframe","settingId":"Accounts_Iframe_api_method","sorter":NumberInt(95)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Iframe_api_url","_updatedAt":new Date(1591734399087),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Iframe","sectionPermissionId":"change-setting-Iframe","settingId":"Accounts_Iframe_api_url","sorter":NumberInt(94)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_LoginExpiration","_updatedAt":new Date(1591734395274),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"settingId":"Accounts_LoginExpiration","sorter":NumberInt(18)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_ManuallyApproveNewUsers","_updatedAt":new Date(1591734395311),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Registration","sectionPermissionId":"change-setting-Registration","settingId":"Accounts_ManuallyApproveNewUsers","sorter":NumberInt(33)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Dolphin","_updatedAt":new Date(1591734395955),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Dolphin","sectionPermissionId":"change-setting-Dolphin","settingId":"Accounts_OAuth_Dolphin","sorter":NumberInt(32)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Dolphin_URL","_updatedAt":new Date(1591734395943),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Dolphin","sectionPermissionId":"change-setting-Dolphin","settingId":"Accounts_OAuth_Dolphin_URL","sorter":NumberInt(31)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Dolphin_button_color","_updatedAt":new Date(1591734395971),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Dolphin","sectionPermissionId":"change-setting-Dolphin","settingId":"Accounts_OAuth_Dolphin_button_color","sorter":NumberInt(38)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Dolphin_button_label_color","_updatedAt":new Date(1591734395968),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Dolphin","sectionPermissionId":"change-setting-Dolphin","settingId":"Accounts_OAuth_Dolphin_button_label_color","sorter":NumberInt(37)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Dolphin_button_label_text","_updatedAt":new Date(1591734395966),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Dolphin","sectionPermissionId":"change-setting-Dolphin","settingId":"Accounts_OAuth_Dolphin_button_label_text","sorter":NumberInt(36)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Dolphin_id","_updatedAt":new Date(1591734395958),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Dolphin","sectionPermissionId":"change-setting-Dolphin","settingId":"Accounts_OAuth_Dolphin_id","sorter":NumberInt(33)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Dolphin_login_style","_updatedAt":new Date(1591734395964),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Dolphin","sectionPermissionId":"change-setting-Dolphin","settingId":"Accounts_OAuth_Dolphin_login_style","sorter":NumberInt(35)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Dolphin_secret","_updatedAt":new Date(1591734395961),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Dolphin","sectionPermissionId":"change-setting-Dolphin","settingId":"Accounts_OAuth_Dolphin_secret","sorter":NumberInt(34)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Drupal","_updatedAt":new Date(1591734395973),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Drupal","sectionPermissionId":"change-setting-Drupal","settingId":"Accounts_OAuth_Drupal","sorter":NumberInt(39)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Drupal_callback_url","_updatedAt":new Date(1591734395983),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Drupal","sectionPermissionId":"change-setting-Drupal","settingId":"Accounts_OAuth_Drupal_callback_url","sorter":NumberInt(43)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Drupal_id","_updatedAt":new Date(1591734395978),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Drupal","sectionPermissionId":"change-setting-Drupal","settingId":"Accounts_OAuth_Drupal_id","sorter":NumberInt(41)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Drupal_secret","_updatedAt":new Date(1591734395981),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Drupal","sectionPermissionId":"change-setting-Drupal","settingId":"Accounts_OAuth_Drupal_secret","sorter":NumberInt(42)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Facebook","_updatedAt":new Date(1591734395461),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Facebook","sectionPermissionId":"change-setting-Facebook","settingId":"Accounts_OAuth_Facebook","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Facebook_callback_url","_updatedAt":new Date(1591734395468),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Facebook","sectionPermissionId":"change-setting-Facebook","settingId":"Accounts_OAuth_Facebook_callback_url","sorter":NumberInt(3)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Facebook_id","_updatedAt":new Date(1591734395464),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Facebook","sectionPermissionId":"change-setting-Facebook","settingId":"Accounts_OAuth_Facebook_id","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Facebook_secret","_updatedAt":new Date(1591734395466),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Facebook","sectionPermissionId":"change-setting-Facebook","settingId":"Accounts_OAuth_Facebook_secret","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_GitHub_Enterprise","_updatedAt":new Date(1591734395992),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"GitHub Enterprise","sectionPermissionId":"change-setting-GitHub Enterprise","settingId":"Accounts_OAuth_GitHub_Enterprise","sorter":NumberInt(44)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_GitHub_Enterprise_callback_url","_updatedAt":new Date(1591734395998),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"GitHub Enterprise","sectionPermissionId":"change-setting-GitHub Enterprise","settingId":"Accounts_OAuth_GitHub_Enterprise_callback_url","sorter":NumberInt(48)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_GitHub_Enterprise_id","_updatedAt":new Date(1591734396776),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"GitHub Enterprise","sectionPermissionId":"change-setting-GitHub Enterprise","settingId":"Accounts_OAuth_GitHub_Enterprise_id","sorter":NumberInt(46)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_GitHub_Enterprise_secret","_updatedAt":new Date(1591734396777),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"GitHub Enterprise","sectionPermissionId":"change-setting-GitHub Enterprise","settingId":"Accounts_OAuth_GitHub_Enterprise_secret","sorter":NumberInt(47)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Github","_updatedAt":new Date(1591734395477),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"GitHub","sectionPermissionId":"change-setting-GitHub","settingId":"Accounts_OAuth_Github","sorter":NumberInt(8)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Github_callback_url","_updatedAt":new Date(1591734395483),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"GitHub","sectionPermissionId":"change-setting-GitHub","settingId":"Accounts_OAuth_Github_callback_url","sorter":NumberInt(11)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Github_id","_updatedAt":new Date(1591734395479),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"GitHub","sectionPermissionId":"change-setting-GitHub","settingId":"Accounts_OAuth_Github_id","sorter":NumberInt(9)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Github_secret","_updatedAt":new Date(1591734395481),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"GitHub","sectionPermissionId":"change-setting-GitHub","settingId":"Accounts_OAuth_Github_secret","sorter":NumberInt(10)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Gitlab","_updatedAt":new Date(1591734396000),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"GitLab","sectionPermissionId":"change-setting-GitLab","settingId":"Accounts_OAuth_Gitlab","sorter":NumberInt(49)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Gitlab_callback_url","_updatedAt":new Date(1591734396015),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"GitLab","sectionPermissionId":"change-setting-GitLab","settingId":"Accounts_OAuth_Gitlab_callback_url","sorter":NumberInt(55)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Gitlab_id","_updatedAt":new Date(1591734396008),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"GitLab","sectionPermissionId":"change-setting-GitLab","settingId":"Accounts_OAuth_Gitlab_id","sorter":NumberInt(51)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Gitlab_identity_path","_updatedAt":new Date(1591734396779),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"GitLab","sectionPermissionId":"change-setting-GitLab","settingId":"Accounts_OAuth_Gitlab_identity_path","sorter":NumberInt(53)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Gitlab_merge_users","_updatedAt":new Date(1591734396012),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"GitLab","sectionPermissionId":"change-setting-GitLab","settingId":"Accounts_OAuth_Gitlab_merge_users","sorter":NumberInt(54)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Gitlab_secret","_updatedAt":new Date(1591734396010),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"GitLab","sectionPermissionId":"change-setting-GitLab","settingId":"Accounts_OAuth_Gitlab_secret","sorter":NumberInt(52)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Google","_updatedAt":new Date(1591734395470),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Google","sectionPermissionId":"change-setting-Google","settingId":"Accounts_OAuth_Google","sorter":NumberInt(4)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Google_callback_url","_updatedAt":new Date(1591734395475),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Google","sectionPermissionId":"change-setting-Google","settingId":"Accounts_OAuth_Google_callback_url","sorter":NumberInt(7)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Google_id","_updatedAt":new Date(1591734395472),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Google","sectionPermissionId":"change-setting-Google","settingId":"Accounts_OAuth_Google_id","sorter":NumberInt(5)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Google_secret","_updatedAt":new Date(1591734395473),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Google","sectionPermissionId":"change-setting-Google","settingId":"Accounts_OAuth_Google_secret","sorter":NumberInt(6)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Linkedin","_updatedAt":new Date(1591734395485),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Linkedin","sectionPermissionId":"change-setting-Linkedin","settingId":"Accounts_OAuth_Linkedin","sorter":NumberInt(12)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Linkedin_callback_url","_updatedAt":new Date(1591734395490),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Linkedin","sectionPermissionId":"change-setting-Linkedin","settingId":"Accounts_OAuth_Linkedin_callback_url","sorter":NumberInt(15)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Linkedin_id","_updatedAt":new Date(1591734395487),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Linkedin","sectionPermissionId":"change-setting-Linkedin","settingId":"Accounts_OAuth_Linkedin_id","sorter":NumberInt(13)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Linkedin_secret","_updatedAt":new Date(1591734395488),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Linkedin","sectionPermissionId":"change-setting-Linkedin","settingId":"Accounts_OAuth_Linkedin_secret","sorter":NumberInt(14)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Meteor","_updatedAt":new Date(1591734395492),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Meteor","sectionPermissionId":"change-setting-Meteor","settingId":"Accounts_OAuth_Meteor","sorter":NumberInt(16)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Meteor_callback_url","_updatedAt":new Date(1591734395498),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Meteor","sectionPermissionId":"change-setting-Meteor","settingId":"Accounts_OAuth_Meteor_callback_url","sorter":NumberInt(19)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Meteor_id","_updatedAt":new Date(1591734395494),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Meteor","sectionPermissionId":"change-setting-Meteor","settingId":"Accounts_OAuth_Meteor_id","sorter":NumberInt(17)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Meteor_secret","_updatedAt":new Date(1591734395496),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Meteor","sectionPermissionId":"change-setting-Meteor","settingId":"Accounts_OAuth_Meteor_secret","sorter":NumberInt(18)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Nextcloud","_updatedAt":new Date(1591734396124),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Nextcloud","sectionPermissionId":"change-setting-Nextcloud","settingId":"Accounts_OAuth_Nextcloud","sorter":NumberInt(56)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Nextcloud_URL","_updatedAt":new Date(1591734396125),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Nextcloud","sectionPermissionId":"change-setting-Nextcloud","settingId":"Accounts_OAuth_Nextcloud_URL","sorter":NumberInt(57)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Nextcloud_button_color","_updatedAt":new Date(1591734396136),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Nextcloud","sectionPermissionId":"change-setting-Nextcloud","settingId":"Accounts_OAuth_Nextcloud_button_color","sorter":NumberInt(63)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Nextcloud_button_label_color","_updatedAt":new Date(1591734396135),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Nextcloud","sectionPermissionId":"change-setting-Nextcloud","settingId":"Accounts_OAuth_Nextcloud_button_label_color","sorter":NumberInt(62)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Nextcloud_button_label_text","_updatedAt":new Date(1591734396133),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Nextcloud","sectionPermissionId":"change-setting-Nextcloud","settingId":"Accounts_OAuth_Nextcloud_button_label_text","sorter":NumberInt(61)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Nextcloud_callback_url","_updatedAt":new Date(1591734396131),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Nextcloud","sectionPermissionId":"change-setting-Nextcloud","settingId":"Accounts_OAuth_Nextcloud_callback_url","sorter":NumberInt(60)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Nextcloud_id","_updatedAt":new Date(1591734396127),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Nextcloud","sectionPermissionId":"change-setting-Nextcloud","settingId":"Accounts_OAuth_Nextcloud_id","sorter":NumberInt(58)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Nextcloud_secret","_updatedAt":new Date(1591734396130),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Nextcloud","sectionPermissionId":"change-setting-Nextcloud","settingId":"Accounts_OAuth_Nextcloud_secret","sorter":NumberInt(59)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Proxy_host","_updatedAt":new Date(1591734395508),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Proxy","sectionPermissionId":"change-setting-Proxy","settingId":"Accounts_OAuth_Proxy_host","sorter":NumberInt(24)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Proxy_services","_updatedAt":new Date(1591734395510),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Proxy","sectionPermissionId":"change-setting-Proxy","settingId":"Accounts_OAuth_Proxy_services","sorter":NumberInt(25)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Tokenpass","_updatedAt":new Date(1591734395922),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Tokenpass","sectionPermissionId":"change-setting-Tokenpass","settingId":"Accounts_OAuth_Tokenpass","sorter":NumberInt(26)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Tokenpass_callback_url","_updatedAt":new Date(1591734395932),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Tokenpass","sectionPermissionId":"change-setting-Tokenpass","settingId":"Accounts_OAuth_Tokenpass_callback_url","sorter":NumberInt(30)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Tokenpass_id","_updatedAt":new Date(1591734395926),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Tokenpass","sectionPermissionId":"change-setting-Tokenpass","settingId":"Accounts_OAuth_Tokenpass_id","sorter":NumberInt(28)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Tokenpass_secret","_updatedAt":new Date(1591734395929),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Tokenpass","sectionPermissionId":"change-setting-Tokenpass","settingId":"Accounts_OAuth_Tokenpass_secret","sorter":NumberInt(29)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Twitter","_updatedAt":new Date(1591734395500),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Twitter","sectionPermissionId":"change-setting-Twitter","settingId":"Accounts_OAuth_Twitter","sorter":NumberInt(20)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Twitter_callback_url","_updatedAt":new Date(1591734395506),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Twitter","sectionPermissionId":"change-setting-Twitter","settingId":"Accounts_OAuth_Twitter_callback_url","sorter":NumberInt(23)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Twitter_id","_updatedAt":new Date(1591734395502),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Twitter","sectionPermissionId":"change-setting-Twitter","settingId":"Accounts_OAuth_Twitter_id","sorter":NumberInt(21)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Twitter_secret","_updatedAt":new Date(1591734395504),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Twitter","sectionPermissionId":"change-setting-Twitter","settingId":"Accounts_OAuth_Twitter_secret","sorter":NumberInt(22)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Wordpress","_updatedAt":new Date(1591734396251),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"WordPress","sectionPermissionId":"change-setting-WordPress","settingId":"Accounts_OAuth_Wordpress","sorter":NumberInt(64)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Wordpress_authorize_path","_updatedAt":new Date(1591734396261),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"WordPress","sectionPermissionId":"change-setting-WordPress","settingId":"Accounts_OAuth_Wordpress_authorize_path","sorter":NumberInt(72)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Wordpress_callback_url","_updatedAt":new Date(1591734396264),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"WordPress","sectionPermissionId":"change-setting-WordPress","settingId":"Accounts_OAuth_Wordpress_callback_url","sorter":NumberInt(74)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Wordpress_id","_updatedAt":new Date(1591734396254),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"WordPress","sectionPermissionId":"change-setting-WordPress","settingId":"Accounts_OAuth_Wordpress_id","sorter":NumberInt(66)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Wordpress_identity_path","_updatedAt":new Date(1591734396258),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"WordPress","sectionPermissionId":"change-setting-WordPress","settingId":"Accounts_OAuth_Wordpress_identity_path","sorter":NumberInt(69)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Wordpress_identity_token_sent_via","_updatedAt":new Date(1591734396259),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"WordPress","sectionPermissionId":"change-setting-WordPress","settingId":"Accounts_OAuth_Wordpress_identity_token_sent_via","sorter":NumberInt(70)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Wordpress_scope","_updatedAt":new Date(1591734396263),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"WordPress","sectionPermissionId":"change-setting-WordPress","settingId":"Accounts_OAuth_Wordpress_scope","sorter":NumberInt(73)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Wordpress_secret","_updatedAt":new Date(1591734396255),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"WordPress","sectionPermissionId":"change-setting-WordPress","settingId":"Accounts_OAuth_Wordpress_secret","sorter":NumberInt(67)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Wordpress_server_type","_updatedAt":new Date(1591734396256),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"WordPress","sectionPermissionId":"change-setting-WordPress","settingId":"Accounts_OAuth_Wordpress_server_type","sorter":NumberInt(68)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Wordpress_token_path","_updatedAt":new Date(1591734396260),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"WordPress","sectionPermissionId":"change-setting-WordPress","settingId":"Accounts_OAuth_Wordpress_token_path","sorter":NumberInt(71)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_PasswordPlaceholder","_updatedAt":new Date(1591734395280),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"settingId":"Accounts_PasswordPlaceholder","sorter":NumberInt(21)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_PasswordReset","_updatedAt":new Date(1591734395342),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Registration","sectionPermissionId":"change-setting-Registration","settingId":"Accounts_PasswordReset","sorter":NumberInt(45)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Password_Policy_AtLeastOneLowercase","_updatedAt":new Date(1591734395453),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Password_Policy","sectionPermissionId":"change-setting-Password_Policy","settingId":"Accounts_Password_Policy_AtLeastOneLowercase","sorter":NumberInt(88)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Password_Policy_AtLeastOneNumber","_updatedAt":new Date(1591734395457),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Password_Policy","sectionPermissionId":"change-setting-Password_Policy","settingId":"Accounts_Password_Policy_AtLeastOneNumber","sorter":NumberInt(90)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Password_Policy_AtLeastOneSpecialCharacter","_updatedAt":new Date(1591734395460),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Password_Policy","sectionPermissionId":"change-setting-Password_Policy","settingId":"Accounts_Password_Policy_AtLeastOneSpecialCharacter","sorter":NumberInt(91)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Password_Policy_AtLeastOneUppercase","_updatedAt":new Date(1591734395456),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Password_Policy","sectionPermissionId":"change-setting-Password_Policy","settingId":"Accounts_Password_Policy_AtLeastOneUppercase","sorter":NumberInt(89)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Password_Policy_Enabled","_updatedAt":new Date(1591734395441),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Password_Policy","sectionPermissionId":"change-setting-Password_Policy","settingId":"Accounts_Password_Policy_Enabled","sorter":NumberInt(83)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Password_Policy_ForbidRepeatingCharacters","_updatedAt":new Date(1591734395448),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Password_Policy","sectionPermissionId":"change-setting-Password_Policy","settingId":"Accounts_Password_Policy_ForbidRepeatingCharacters","sorter":NumberInt(86)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Password_Policy_ForbidRepeatingCharactersCount","_updatedAt":new Date(1591734395451),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Password_Policy","sectionPermissionId":"change-setting-Password_Policy","settingId":"Accounts_Password_Policy_ForbidRepeatingCharactersCount","sorter":NumberInt(87)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Password_Policy_MaxLength","_updatedAt":new Date(1591734395446),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Password_Policy","sectionPermissionId":"change-setting-Password_Policy","settingId":"Accounts_Password_Policy_MaxLength","sorter":NumberInt(85)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Password_Policy_MinLength","_updatedAt":new Date(1591734395444),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Password_Policy","sectionPermissionId":"change-setting-Password_Policy","settingId":"Accounts_Password_Policy_MinLength","sorter":NumberInt(84)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_RegistrationForm","_updatedAt":new Date(1591734395326),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Registration","sectionPermissionId":"change-setting-Registration","settingId":"Accounts_RegistrationForm","sorter":NumberInt(39)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_RegistrationForm_LinkReplacementText","_updatedAt":new Date(1591734395333),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Registration","sectionPermissionId":"change-setting-Registration","settingId":"Accounts_RegistrationForm_LinkReplacementText","sorter":NumberInt(42)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_RegistrationForm_SecretURL","_updatedAt":new Date(1591734395328),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Registration","sectionPermissionId":"change-setting-Registration","settingId":"Accounts_RegistrationForm_SecretURL","sorter":NumberInt(40)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Registration_AuthenticationServices_Default_Roles","_updatedAt":new Date(1591734395340),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Registration","sectionPermissionId":"change-setting-Registration","settingId":"Accounts_Registration_AuthenticationServices_Default_Roles","sorter":NumberInt(44)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Registration_AuthenticationServices_Enabled","_updatedAt":new Date(1591734395336),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Registration","sectionPermissionId":"change-setting-Registration","settingId":"Accounts_Registration_AuthenticationServices_Enabled","sorter":NumberInt(43)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Registration_InviteUrlType","_updatedAt":new Date(1591734395331),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Registration","sectionPermissionId":"change-setting-Registration","settingId":"Accounts_Registration_InviteUrlType","sorter":NumberInt(41)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_RequireNameForSignUp","_updatedAt":new Date(1591734395302),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Registration","sectionPermissionId":"change-setting-Registration","settingId":"Accounts_RequireNameForSignUp","sorter":NumberInt(29)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_RequirePasswordConfirmation","_updatedAt":new Date(1591734395304),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Registration","sectionPermissionId":"change-setting-Registration","settingId":"Accounts_RequirePasswordConfirmation","sorter":NumberInt(30)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_SearchFields","_updatedAt":new Date(1591734395290),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"settingId":"Accounts_SearchFields","sorter":NumberInt(24)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Send_Email_When_Activating","_updatedAt":new Date(1591734395295),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Registration","sectionPermissionId":"change-setting-Registration","settingId":"Accounts_Send_Email_When_Activating","sorter":NumberInt(26)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Send_Email_When_Deactivating","_updatedAt":new Date(1591734395298),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Registration","sectionPermissionId":"change-setting-Registration","settingId":"Accounts_Send_Email_When_Deactivating","sorter":NumberInt(27)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_SetDefaultAvatar","_updatedAt":new Date(1591734395439),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Avatar","sectionPermissionId":"change-setting-Avatar","settingId":"Accounts_SetDefaultAvatar","sorter":NumberInt(82)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_ShowFormLogin","_updatedAt":new Date(1591734395276),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"settingId":"Accounts_ShowFormLogin","sorter":NumberInt(19)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_TwoFactorAuthentication_By_Email_Auto_Opt_In","_updatedAt":new Date(1591734396968),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Two Factor Authentication","sectionPermissionId":"change-setting-Two Factor Authentication","settingId":"Accounts_TwoFactorAuthentication_By_Email_Auto_Opt_In","sorter":NumberInt(3)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_TwoFactorAuthentication_By_Email_Code_Expiration","_updatedAt":new Date(1591734396970),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Two Factor Authentication","sectionPermissionId":"change-setting-Two Factor Authentication","settingId":"Accounts_TwoFactorAuthentication_By_Email_Code_Expiration","sorter":NumberInt(4)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_TwoFactorAuthentication_By_Email_Enabled","_updatedAt":new Date(1591734396869),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Two Factor Authentication","sectionPermissionId":"change-setting-Two Factor Authentication","settingId":"Accounts_TwoFactorAuthentication_By_Email_Enabled","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_TwoFactorAuthentication_Enabled","_updatedAt":new Date(1591734394966),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Two Factor Authentication","sectionPermissionId":"change-setting-Two Factor Authentication","settingId":"Accounts_TwoFactorAuthentication_Enabled","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_TwoFactorAuthentication_MaxDelta","_updatedAt":new Date(1591734394968),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Two Factor Authentication","sectionPermissionId":"change-setting-Two Factor Authentication","settingId":"Accounts_TwoFactorAuthentication_MaxDelta","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_TwoFactorAuthentication_RememberFor","_updatedAt":new Date(1591734396872),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Two Factor Authentication","sectionPermissionId":"change-setting-Two Factor Authentication","settingId":"Accounts_TwoFactorAuthentication_RememberFor","sorter":NumberInt(5)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_UseDNSDomainCheck","_updatedAt":new Date(1591734395324),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Registration","sectionPermissionId":"change-setting-Registration","settingId":"Accounts_UseDNSDomainCheck","sorter":NumberInt(38)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_UseDefaultBlockedDomainsList","_updatedAt":new Date(1591734395321),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Registration","sectionPermissionId":"change-setting-Registration","settingId":"Accounts_UseDefaultBlockedDomainsList","sorter":NumberInt(37)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_UserAddedEmail_Email","_updatedAt":new Date(1591734395208),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Registration_via_Admin","sectionPermissionId":"change-setting-Registration_via_Admin","settingId":"Accounts_UserAddedEmail_Email","sorter":NumberInt(32)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_UserAddedEmail_Subject","_updatedAt":new Date(1591734395205),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Registration_via_Admin","sectionPermissionId":"change-setting-Registration_via_Admin","settingId":"Accounts_UserAddedEmail_Subject","sorter":NumberInt(31)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Verify_Email_For_External_Accounts","_updatedAt":new Date(1591734396883),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Registration","sectionPermissionId":"change-setting-Registration","settingId":"Accounts_Verify_Email_For_External_Accounts","sorter":NumberInt(32)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_iframe_enabled","_updatedAt":new Date(1591734399056),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Iframe","sectionPermissionId":"change-setting-Iframe","settingId":"Accounts_iframe_enabled","sorter":NumberInt(92)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_iframe_url","_updatedAt":new Date(1591734399068),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Iframe","sectionPermissionId":"change-setting-Iframe","settingId":"Accounts_iframe_url","sorter":NumberInt(93)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Allow_Invalid_SelfSigned_Certs","_updatedAt":new Date(1591734395520),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"settingId":"Allow_Invalid_SelfSigned_Certs","sorter":NumberInt(15)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Allow_Marketing_Emails","_updatedAt":new Date(1591734395791),"group":"Setup_Wizard","groupPermissionId":"change-setting-Setup_Wizard","level":"settings","roles":[],"section":"Organization_Info","sectionPermissionId":"change-setting-Organization_Info","settingId":"Allow_Marketing_Emails","sorter":NumberInt(7)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Analytics","_updatedAt":new Date(1591734394970),"level":"settings","roles":[],"settingId":"Analytics"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Analytics_features_messages","_updatedAt":new Date(1591734394999),"group":"Analytics","groupPermissionId":"change-setting-Analytics","level":"settings","roles":[],"section":"Analytics_features_enabled","sectionPermissionId":"change-setting-Analytics_features_enabled","settingId":"Analytics_features_messages","sorter":NumberInt(9)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Analytics_features_rooms","_updatedAt":new Date(1591734395003),"group":"Analytics","groupPermissionId":"change-setting-Analytics","level":"settings","roles":[],"section":"Analytics_features_enabled","sectionPermissionId":"change-setting-Analytics_features_enabled","settingId":"Analytics_features_rooms","sorter":NumberInt(10)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Analytics_features_users","_updatedAt":new Date(1591734395014),"group":"Analytics","groupPermissionId":"change-setting-Analytics","level":"settings","roles":[],"section":"Analytics_features_enabled","sectionPermissionId":"change-setting-Analytics_features_enabled","settingId":"Analytics_features_users","sorter":NumberInt(11)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Apps_Framework_Development_Mode","_updatedAt":new Date(1591734395919),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"section":"Apps","sectionPermissionId":"change-setting-Apps","settingId":"Apps_Framework_Development_Mode","sorter":NumberInt(45)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Apps_Framework_enabled","_updatedAt":new Date(1591734395916),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"section":"Apps","sectionPermissionId":"change-setting-Apps","settingId":"Apps_Framework_enabled","sorter":NumberInt(44)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Apps_Game_Center_enabled","_updatedAt":new Date(1591734396921),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"section":"Apps","sectionPermissionId":"change-setting-Apps","settingId":"Apps_Game_Center_enabled","sorter":NumberInt(46)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Assets","_updatedAt":new Date(1591734395044),"level":"settings","roles":[],"settingId":"Assets"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Assets_SvgFavicon_Enable","_updatedAt":new Date(1591734395047),"group":"Assets","groupPermissionId":"change-setting-Assets","level":"settings","roles":[],"settingId":"Assets_SvgFavicon_Enable","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Assets_background","_updatedAt":new Date(1591734395052),"group":"Assets","groupPermissionId":"change-setting-Assets","level":"settings","roles":[],"settingId":"Assets_background","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Assets_favicon","_updatedAt":new Date(1591734395056),"group":"Assets","groupPermissionId":"change-setting-Assets","level":"settings","roles":[],"settingId":"Assets_favicon","sorter":NumberInt(4)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Assets_favicon_16","_updatedAt":new Date(1591734395058),"group":"Assets","groupPermissionId":"change-setting-Assets","level":"settings","roles":[],"settingId":"Assets_favicon_16","sorter":NumberInt(5)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Assets_favicon_192","_updatedAt":new Date(1591734395064),"group":"Assets","groupPermissionId":"change-setting-Assets","level":"settings","roles":[],"settingId":"Assets_favicon_192","sorter":NumberInt(7)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Assets_favicon_32","_updatedAt":new Date(1591734395061),"group":"Assets","groupPermissionId":"change-setting-Assets","level":"settings","roles":[],"settingId":"Assets_favicon_32","sorter":NumberInt(6)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Assets_favicon_512","_updatedAt":new Date(1591734395066),"group":"Assets","groupPermissionId":"change-setting-Assets","level":"settings","roles":[],"settingId":"Assets_favicon_512","sorter":NumberInt(8)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Assets_favicon_ico","_updatedAt":new Date(1591734395054),"group":"Assets","groupPermissionId":"change-setting-Assets","level":"settings","roles":[],"settingId":"Assets_favicon_ico","sorter":NumberInt(3)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Assets_logo","_updatedAt":new Date(1591734395049),"group":"Assets","groupPermissionId":"change-setting-Assets","level":"settings","roles":[],"settingId":"Assets_logo","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Assets_safari_pinned","_updatedAt":new Date(1591734395087),"group":"Assets","groupPermissionId":"change-setting-Assets","level":"settings","roles":[],"settingId":"Assets_safari_pinned","sorter":NumberInt(16)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Assets_tile_144","_updatedAt":new Date(1591734395078),"group":"Assets","groupPermissionId":"change-setting-Assets","level":"settings","roles":[],"settingId":"Assets_tile_144","sorter":NumberInt(12)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Assets_tile_150","_updatedAt":new Date(1591734395080),"group":"Assets","groupPermissionId":"change-setting-Assets","level":"settings","roles":[],"settingId":"Assets_tile_150","sorter":NumberInt(13)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Assets_tile_310_square","_updatedAt":new Date(1591734395083),"group":"Assets","groupPermissionId":"change-setting-Assets","level":"settings","roles":[],"settingId":"Assets_tile_310_square","sorter":NumberInt(14)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Assets_tile_310_wide","_updatedAt":new Date(1591734395085),"group":"Assets","groupPermissionId":"change-setting-Assets","level":"settings","roles":[],"settingId":"Assets_tile_310_wide","sorter":NumberInt(15)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Assets_tile_70","_updatedAt":new Date(1591734395074),"group":"Assets","groupPermissionId":"change-setting-Assets","level":"settings","roles":[],"settingId":"Assets_tile_70","sorter":NumberInt(11)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Assets_touchicon_180","_updatedAt":new Date(1591734395069),"group":"Assets","groupPermissionId":"change-setting-Assets","level":"settings","roles":[],"settingId":"Assets_touchicon_180","sorter":NumberInt(9)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Assets_touchicon_180_pre","_updatedAt":new Date(1591734395072),"group":"Assets","groupPermissionId":"change-setting-Assets","level":"settings","roles":[],"settingId":"Assets_touchicon_180_pre","sorter":NumberInt(10)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-AtlassianCrowd","_updatedAt":new Date(1591734398240),"level":"settings","roles":[],"settingId":"AtlassianCrowd"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-AutoLinker","_updatedAt":new Date(1591734397613),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"AutoLinker","sectionPermissionId":"change-setting-AutoLinker","settingId":"AutoLinker","sorter":NumberInt(49)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-AutoLinker_Email","_updatedAt":new Date(1591734397711),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"AutoLinker","sectionPermissionId":"change-setting-AutoLinker","settingId":"AutoLinker_Email","sorter":NumberInt(55)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-AutoLinker_Phone","_updatedAt":new Date(1591734397732),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"AutoLinker","sectionPermissionId":"change-setting-AutoLinker","settingId":"AutoLinker_Phone","sorter":NumberInt(56)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-AutoLinker_StripPrefix","_updatedAt":new Date(1591734397627),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"AutoLinker","sectionPermissionId":"change-setting-AutoLinker","settingId":"AutoLinker_StripPrefix","sorter":NumberInt(50)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-AutoLinker_UrlsRegExp","_updatedAt":new Date(1591734397696),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"AutoLinker","sectionPermissionId":"change-setting-AutoLinker","settingId":"AutoLinker_UrlsRegExp","sorter":NumberInt(54)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-AutoLinker_Urls_Scheme","_updatedAt":new Date(1591734397653),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"AutoLinker","sectionPermissionId":"change-setting-AutoLinker","settingId":"AutoLinker_Urls_Scheme","sorter":NumberInt(51)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-AutoLinker_Urls_TLD","_updatedAt":new Date(1591734397680),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"AutoLinker","sectionPermissionId":"change-setting-AutoLinker","settingId":"AutoLinker_Urls_TLD","sorter":NumberInt(53)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-AutoLinker_Urls_www","_updatedAt":new Date(1591734397668),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"AutoLinker","sectionPermissionId":"change-setting-AutoLinker","settingId":"AutoLinker_Urls_www","sorter":NumberInt(52)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-AutoTranslate_DeepLAPIKey","_updatedAt":new Date(1591734397965),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"AutoTranslate_DeepL","sectionPermissionId":"change-setting-AutoTranslate_DeepL","settingId":"AutoTranslate_DeepLAPIKey","sorter":NumberInt(60)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-AutoTranslate_Enabled","_updatedAt":new Date(1591734397743),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"AutoTranslate","sectionPermissionId":"change-setting-AutoTranslate","settingId":"AutoTranslate_Enabled","sorter":NumberInt(57)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-AutoTranslate_GoogleAPIKey","_updatedAt":new Date(1591734397942),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"AutoTranslate_Google","sectionPermissionId":"change-setting-AutoTranslate_Google","settingId":"AutoTranslate_GoogleAPIKey","sorter":NumberInt(59)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-AutoTranslate_MicrosoftAPIKey","_updatedAt":new Date(1591734397977),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"AutoTranslate_Microsoft","sectionPermissionId":"change-setting-AutoTranslate_Microsoft","settingId":"AutoTranslate_MicrosoftAPIKey","sorter":NumberInt(61)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-AutoTranslate_ServiceProvider","_updatedAt":new Date(1591734397759),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"AutoTranslate","sectionPermissionId":"change-setting-AutoTranslate","settingId":"AutoTranslate_ServiceProvider","sorter":NumberInt(58)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Blockstack","_updatedAt":new Date(1591734399922),"level":"settings","roles":[],"settingId":"Blockstack"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Blockstack_Auth_Description","_updatedAt":new Date(1591734399954),"group":"Blockstack","groupPermissionId":"change-setting-Blockstack","level":"settings","roles":[],"settingId":"Blockstack_Auth_Description","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Blockstack_ButtonLabelText","_updatedAt":new Date(1591734399968),"group":"Blockstack","groupPermissionId":"change-setting-Blockstack","level":"settings","roles":[],"settingId":"Blockstack_ButtonLabelText","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Blockstack_Enable","_updatedAt":new Date(1591734399938),"group":"Blockstack","groupPermissionId":"change-setting-Blockstack","level":"settings","roles":[],"settingId":"Blockstack_Enable","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Blockstack_Generate_Username","_updatedAt":new Date(1591734399982),"group":"Blockstack","groupPermissionId":"change-setting-Blockstack","level":"settings","roles":[],"settingId":"Blockstack_Generate_Username","sorter":NumberInt(3)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-BotHelpers_userFields","_updatedAt":new Date(1591734398011),"group":"Bots","groupPermissionId":"change-setting-Bots","level":"settings","roles":[],"section":"Helpers","sectionPermissionId":"change-setting-Helpers","settingId":"BotHelpers_userFields","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Bots","_updatedAt":new Date(1591734397993),"level":"settings","roles":[],"settingId":"Bots"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Broadcasting_api_key","_updatedAt":new Date(1591734399304),"group":"LiveStream & Broadcasting","groupPermissionId":"change-setting-LiveStream & Broadcasting","level":"settings","roles":[],"settingId":"Broadcasting_api_key","sorter":NumberInt(4)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Broadcasting_client_id","_updatedAt":new Date(1591734399288),"group":"LiveStream & Broadcasting","groupPermissionId":"change-setting-LiveStream & Broadcasting","level":"settings","roles":[],"settingId":"Broadcasting_client_id","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Broadcasting_client_secret","_updatedAt":new Date(1591734399296),"group":"LiveStream & Broadcasting","groupPermissionId":"change-setting-LiveStream & Broadcasting","level":"settings","roles":[],"settingId":"Broadcasting_client_secret","sorter":NumberInt(3)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Broadcasting_enabled","_updatedAt":new Date(1591734399281),"group":"LiveStream & Broadcasting","groupPermissionId":"change-setting-LiveStream & Broadcasting","level":"settings","roles":[],"settingId":"Broadcasting_enabled","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Broadcasting_media_server_url","_updatedAt":new Date(1591734399314),"group":"LiveStream & Broadcasting","groupPermissionId":"change-setting-LiveStream & Broadcasting","level":"settings","roles":[],"settingId":"Broadcasting_media_server_url","sorter":NumberInt(5)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Bugsnag_api_key","_updatedAt":new Date(1591734395558),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"settingId":"Bugsnag_api_key","sorter":NumberInt(29)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-CAS","_updatedAt":new Date(1591734398023),"level":"settings","roles":[],"settingId":"CAS"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-CAS_Sync_User_Data_Enabled","_updatedAt":new Date(1591734398128),"group":"CAS","groupPermissionId":"change-setting-CAS","level":"settings","roles":[],"section":"Attribute_handling","sectionPermissionId":"change-setting-Attribute_handling","settingId":"CAS_Sync_User_Data_Enabled","sorter":NumberInt(5)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-CAS_Sync_User_Data_FieldMap","_updatedAt":new Date(1591734398140),"group":"CAS","groupPermissionId":"change-setting-CAS","level":"settings","roles":[],"section":"Attribute_handling","sectionPermissionId":"change-setting-Attribute_handling","settingId":"CAS_Sync_User_Data_FieldMap","sorter":NumberInt(6)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-CAS_autoclose","_updatedAt":new Date(1591734398226),"group":"CAS","groupPermissionId":"change-setting-CAS","level":"settings","roles":[],"section":"CAS_Login_Layout","sectionPermissionId":"change-setting-CAS_Login_Layout","settingId":"CAS_autoclose","sorter":NumberInt(12)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-CAS_base_url","_updatedAt":new Date(1591734398052),"group":"CAS","groupPermissionId":"change-setting-CAS","level":"settings","roles":[],"settingId":"CAS_base_url","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-CAS_button_color","_updatedAt":new Date(1591734398209),"group":"CAS","groupPermissionId":"change-setting-CAS","level":"settings","roles":[],"section":"CAS_Login_Layout","sectionPermissionId":"change-setting-CAS_Login_Layout","settingId":"CAS_button_color","sorter":NumberInt(11)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-CAS_button_label_color","_updatedAt":new Date(1591734398199),"group":"CAS","groupPermissionId":"change-setting-CAS","level":"settings","roles":[],"section":"CAS_Login_Layout","sectionPermissionId":"change-setting-CAS_Login_Layout","settingId":"CAS_button_label_color","sorter":NumberInt(10)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-CAS_button_label_text","_updatedAt":new Date(1591734398182),"group":"CAS","groupPermissionId":"change-setting-CAS","level":"settings","roles":[],"section":"CAS_Login_Layout","sectionPermissionId":"change-setting-CAS_Login_Layout","settingId":"CAS_button_label_text","sorter":NumberInt(9)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-CAS_enabled","_updatedAt":new Date(1591734398040),"group":"CAS","groupPermissionId":"change-setting-CAS","level":"settings","roles":[],"settingId":"CAS_enabled","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-CAS_login_url","_updatedAt":new Date(1591734398065),"group":"CAS","groupPermissionId":"change-setting-CAS","level":"settings","roles":[],"settingId":"CAS_login_url","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-CAS_popup_height","_updatedAt":new Date(1591734398171),"group":"CAS","groupPermissionId":"change-setting-CAS","level":"settings","roles":[],"section":"CAS_Login_Layout","sectionPermissionId":"change-setting-CAS_Login_Layout","settingId":"CAS_popup_height","sorter":NumberInt(8)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-CAS_popup_width","_updatedAt":new Date(1591734398156),"group":"CAS","groupPermissionId":"change-setting-CAS","level":"settings","roles":[],"section":"CAS_Login_Layout","sectionPermissionId":"change-setting-CAS_Login_Layout","settingId":"CAS_popup_width","sorter":NumberInt(7)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-CAS_trust_username","_updatedAt":new Date(1591734398112),"group":"CAS","groupPermissionId":"change-setting-CAS","level":"settings","roles":[],"settingId":"CAS_trust_username","sorter":NumberInt(4)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-CAS_version","_updatedAt":new Date(1591734398078),"group":"CAS","groupPermissionId":"change-setting-CAS","level":"settings","roles":[],"settingId":"CAS_version","sorter":NumberInt(3)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-CDN_JSCSS_PREFIX","_updatedAt":new Date(1591734395546),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"settingId":"CDN_JSCSS_PREFIX","sorter":NumberInt(25)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-CDN_PREFIX","_updatedAt":new Date(1591734395542),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"settingId":"CDN_PREFIX","sorter":NumberInt(23)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-CDN_PREFIX_ALL","_updatedAt":new Date(1591734395545),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"settingId":"CDN_PREFIX_ALL","sorter":NumberInt(24)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-CROWD_APP_PASSWORD","_updatedAt":new Date(1591734398334),"group":"AtlassianCrowd","groupPermissionId":"change-setting-AtlassianCrowd","level":"settings","roles":[],"settingId":"CROWD_APP_PASSWORD","sorter":NumberInt(4)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-CROWD_APP_USERNAME","_updatedAt":new Date(1591734398317),"group":"AtlassianCrowd","groupPermissionId":"change-setting-AtlassianCrowd","level":"settings","roles":[],"settingId":"CROWD_APP_USERNAME","sorter":NumberInt(3)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-CROWD_Allow_Custom_Username","_updatedAt":new Date(1591734398419),"group":"AtlassianCrowd","groupPermissionId":"change-setting-AtlassianCrowd","level":"settings","roles":[],"settingId":"CROWD_Allow_Custom_Username","sorter":NumberInt(8)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-CROWD_Clean_Usernames","_updatedAt":new Date(1591734398399),"group":"AtlassianCrowd","groupPermissionId":"change-setting-AtlassianCrowd","level":"settings","roles":[],"settingId":"CROWD_Clean_Usernames","sorter":NumberInt(7)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-CROWD_Enable","_updatedAt":new Date(1591734398267),"group":"AtlassianCrowd","groupPermissionId":"change-setting-AtlassianCrowd","level":"settings","roles":[],"settingId":"CROWD_Enable","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-CROWD_Reject_Unauthorized","_updatedAt":new Date(1591734398301),"group":"AtlassianCrowd","groupPermissionId":"change-setting-AtlassianCrowd","level":"settings","roles":[],"settingId":"CROWD_Reject_Unauthorized","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-CROWD_Sync_Interval","_updatedAt":new Date(1591734398368),"group":"AtlassianCrowd","groupPermissionId":"change-setting-AtlassianCrowd","level":"settings","roles":[],"settingId":"CROWD_Sync_Interval","sorter":NumberInt(6)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-CROWD_Sync_User_Data","_updatedAt":new Date(1591734398348),"group":"AtlassianCrowd","groupPermissionId":"change-setting-AtlassianCrowd","level":"settings","roles":[],"settingId":"CROWD_Sync_User_Data","sorter":NumberInt(5)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-CROWD_Sync_Users","_updatedAt":new Date(1591734398453),"group":"AtlassianCrowd","groupPermissionId":"change-setting-AtlassianCrowd","level":"settings","roles":[],"settingId":"CROWD_Sync_Users","sorter":NumberInt(10)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-CROWD_Test_Connection","_updatedAt":new Date(1591734398437),"group":"AtlassianCrowd","groupPermissionId":"change-setting-AtlassianCrowd","level":"settings","roles":[],"settingId":"CROWD_Test_Connection","sorter":NumberInt(9)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-CROWD_URL","_updatedAt":new Date(1591734398288),"group":"AtlassianCrowd","groupPermissionId":"change-setting-AtlassianCrowd","level":"settings","roles":[],"settingId":"CROWD_URL","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Cloud_Service_Agree_PrivacyTerms","_updatedAt":new Date(1591734395798),"group":"Setup_Wizard","groupPermissionId":"change-setting-Setup_Wizard","level":"settings","roles":[],"section":"Cloud_Info","sectionPermissionId":"change-setting-Cloud_Info","settingId":"Cloud_Service_Agree_PrivacyTerms","sorter":NumberInt(11)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Country","_updatedAt":new Date(1591734395784),"group":"Setup_Wizard","groupPermissionId":"change-setting-Setup_Wizard","level":"settings","roles":[],"section":"Organization_Info","sectionPermissionId":"change-setting-Organization_Info","settingId":"Country","sorter":NumberInt(4)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-CustomSoundsFilesystem","_updatedAt":new Date(1591734395937),"level":"settings","roles":[],"settingId":"CustomSoundsFilesystem"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-CustomSounds_FileSystemPath","_updatedAt":new Date(1591734395941),"group":"CustomSoundsFilesystem","groupPermissionId":"change-setting-CustomSoundsFilesystem","level":"settings","roles":[],"settingId":"CustomSounds_FileSystemPath","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-CustomSounds_Storage_Type","_updatedAt":new Date(1591734396772),"group":"CustomSoundsFilesystem","groupPermissionId":"change-setting-CustomSoundsFilesystem","level":"settings","roles":[],"settingId":"CustomSounds_Storage_Type","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Custom_Script_Logged_In","_updatedAt":new Date(1591734395729),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Custom_Scripts","sectionPermissionId":"change-setting-Custom_Scripts","settingId":"Custom_Script_Logged_In","sorter":NumberInt(10)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Custom_Script_Logged_Out","_updatedAt":new Date(1591734395727),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Custom_Scripts","sectionPermissionId":"change-setting-Custom_Scripts","settingId":"Custom_Script_Logged_Out","sorter":NumberInt(9)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Custom_Script_On_Logout","_updatedAt":new Date(1591734395723),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Custom_Scripts","sectionPermissionId":"change-setting-Custom_Scripts","settingId":"Custom_Script_On_Logout","sorter":NumberInt(8)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Custom_Translations","_updatedAt":new Date(1591734395584),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"section":"Translations","sectionPermissionId":"change-setting-Translations","settingId":"Custom_Translations","sorter":NumberInt(42)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-DDP_Rate_Limit_Connection_By_Method_Enabled","_updatedAt":new Date(1591734395837),"group":"Rate Limiter","groupPermissionId":"change-setting-Rate Limiter","level":"settings","roles":[],"section":"DDP Rate Limiter","sectionPermissionId":"change-setting-DDP Rate Limiter","settingId":"DDP_Rate_Limit_Connection_By_Method_Enabled","sorter":NumberInt(12)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-DDP_Rate_Limit_Connection_By_Method_Interval_Time","_updatedAt":new Date(1591734395843),"group":"Rate Limiter","groupPermissionId":"change-setting-Rate Limiter","level":"settings","roles":[],"section":"DDP Rate Limiter","sectionPermissionId":"change-setting-DDP Rate Limiter","settingId":"DDP_Rate_Limit_Connection_By_Method_Interval_Time","sorter":NumberInt(14)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-DDP_Rate_Limit_Connection_By_Method_Requests_Allowed","_updatedAt":new Date(1591734395840),"group":"Rate Limiter","groupPermissionId":"change-setting-Rate Limiter","level":"settings","roles":[],"section":"DDP Rate Limiter","sectionPermissionId":"change-setting-DDP Rate Limiter","settingId":"DDP_Rate_Limit_Connection_By_Method_Requests_Allowed","sorter":NumberInt(13)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-DDP_Rate_Limit_Connection_Enabled","_updatedAt":new Date(1591734395823),"group":"Rate Limiter","groupPermissionId":"change-setting-Rate Limiter","level":"settings","roles":[],"section":"DDP Rate Limiter","sectionPermissionId":"change-setting-DDP Rate Limiter","settingId":"DDP_Rate_Limit_Connection_Enabled","sorter":NumberInt(6)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-DDP_Rate_Limit_Connection_Interval_Time","_updatedAt":new Date(1591734395828),"group":"Rate Limiter","groupPermissionId":"change-setting-Rate Limiter","level":"settings","roles":[],"section":"DDP Rate Limiter","sectionPermissionId":"change-setting-DDP Rate Limiter","settingId":"DDP_Rate_Limit_Connection_Interval_Time","sorter":NumberInt(8)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-DDP_Rate_Limit_Connection_Requests_Allowed","_updatedAt":new Date(1591734395825),"group":"Rate Limiter","groupPermissionId":"change-setting-Rate Limiter","level":"settings","roles":[],"section":"DDP Rate Limiter","sectionPermissionId":"change-setting-DDP Rate Limiter","settingId":"DDP_Rate_Limit_Connection_Requests_Allowed","sorter":NumberInt(7)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-DDP_Rate_Limit_IP_Enabled","_updatedAt":new Date(1591734395803),"group":"Rate Limiter","groupPermissionId":"change-setting-Rate Limiter","level":"settings","roles":[],"section":"DDP Rate Limiter","sectionPermissionId":"change-setting-DDP Rate Limiter","settingId":"DDP_Rate_Limit_IP_Enabled","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-DDP_Rate_Limit_IP_Interval_Time","_updatedAt":new Date(1591734395812),"group":"Rate Limiter","groupPermissionId":"change-setting-Rate Limiter","level":"settings","roles":[],"section":"DDP Rate Limiter","sectionPermissionId":"change-setting-DDP Rate Limiter","settingId":"DDP_Rate_Limit_IP_Interval_Time","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-DDP_Rate_Limit_IP_Requests_Allowed","_updatedAt":new Date(1591734395806),"group":"Rate Limiter","groupPermissionId":"change-setting-Rate Limiter","level":"settings","roles":[],"section":"DDP Rate Limiter","sectionPermissionId":"change-setting-DDP Rate Limiter","settingId":"DDP_Rate_Limit_IP_Requests_Allowed","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-DDP_Rate_Limit_User_By_Method_Enabled","_updatedAt":new Date(1591734395830),"group":"Rate Limiter","groupPermissionId":"change-setting-Rate Limiter","level":"settings","roles":[],"section":"DDP Rate Limiter","sectionPermissionId":"change-setting-DDP Rate Limiter","settingId":"DDP_Rate_Limit_User_By_Method_Enabled","sorter":NumberInt(9)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-DDP_Rate_Limit_User_By_Method_Interval_Time","_updatedAt":new Date(1591734395835),"group":"Rate Limiter","groupPermissionId":"change-setting-Rate Limiter","level":"settings","roles":[],"section":"DDP Rate Limiter","sectionPermissionId":"change-setting-DDP Rate Limiter","settingId":"DDP_Rate_Limit_User_By_Method_Interval_Time","sorter":NumberInt(11)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-DDP_Rate_Limit_User_By_Method_Requests_Allowed","_updatedAt":new Date(1591734395832),"group":"Rate Limiter","groupPermissionId":"change-setting-Rate Limiter","level":"settings","roles":[],"section":"DDP Rate Limiter","sectionPermissionId":"change-setting-DDP Rate Limiter","settingId":"DDP_Rate_Limit_User_By_Method_Requests_Allowed","sorter":NumberInt(10)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-DDP_Rate_Limit_User_Enabled","_updatedAt":new Date(1591734395814),"group":"Rate Limiter","groupPermissionId":"change-setting-Rate Limiter","level":"settings","roles":[],"section":"DDP Rate Limiter","sectionPermissionId":"change-setting-DDP Rate Limiter","settingId":"DDP_Rate_Limit_User_Enabled","sorter":NumberInt(3)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-DDP_Rate_Limit_User_Interval_Time","_updatedAt":new Date(1591734395821),"group":"Rate Limiter","groupPermissionId":"change-setting-Rate Limiter","level":"settings","roles":[],"section":"DDP Rate Limiter","sectionPermissionId":"change-setting-DDP Rate Limiter","settingId":"DDP_Rate_Limit_User_Interval_Time","sorter":NumberInt(5)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-DDP_Rate_Limit_User_Requests_Allowed","_updatedAt":new Date(1591734395816),"group":"Rate Limiter","groupPermissionId":"change-setting-Rate Limiter","level":"settings","roles":[],"section":"DDP Rate Limiter","sectionPermissionId":"change-setting-DDP Rate Limiter","settingId":"DDP_Rate_Limit_User_Requests_Allowed","sorter":NumberInt(4)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-DeepLink_Url","_updatedAt":new Date(1591734396886),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"settingId":"DeepLink_Url","sorter":NumberInt(22)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-DirectMesssage_maxUsers","_updatedAt":new Date(1591734396888),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"DirectMesssage_maxUsers","sorter":NumberInt(32)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Direct_Reply_Debug","_updatedAt":new Date(1591734395111),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Direct_Reply","sectionPermissionId":"change-setting-Direct_Reply","settingId":"Direct_Reply_Debug","sorter":NumberInt(9)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Direct_Reply_Delete","_updatedAt":new Date(1591734395151),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Direct_Reply","sectionPermissionId":"change-setting-Direct_Reply","settingId":"Direct_Reply_Delete","sorter":NumberInt(15)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Direct_Reply_Enable","_updatedAt":new Date(1591734395108),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Direct_Reply","sectionPermissionId":"change-setting-Direct_Reply","settingId":"Direct_Reply_Enable","sorter":NumberInt(8)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Direct_Reply_Frequency","_updatedAt":new Date(1591734395148),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Direct_Reply","sectionPermissionId":"change-setting-Direct_Reply","settingId":"Direct_Reply_Frequency","sorter":NumberInt(14)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Direct_Reply_Host","_updatedAt":new Date(1591734395139),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Direct_Reply","sectionPermissionId":"change-setting-Direct_Reply","settingId":"Direct_Reply_Host","sorter":NumberInt(11)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Direct_Reply_IgnoreTLS","_updatedAt":new Date(1591734395145),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Direct_Reply","sectionPermissionId":"change-setting-Direct_Reply","settingId":"Direct_Reply_IgnoreTLS","sorter":NumberInt(13)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Direct_Reply_Password","_updatedAt":new Date(1591734395165),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Direct_Reply","sectionPermissionId":"change-setting-Direct_Reply","settingId":"Direct_Reply_Password","sorter":NumberInt(19)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Direct_Reply_Port","_updatedAt":new Date(1591734395142),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Direct_Reply","sectionPermissionId":"change-setting-Direct_Reply","settingId":"Direct_Reply_Port","sorter":NumberInt(12)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Direct_Reply_Protocol","_updatedAt":new Date(1591734395136),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Direct_Reply","sectionPermissionId":"change-setting-Direct_Reply","settingId":"Direct_Reply_Protocol","sorter":NumberInt(10)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Direct_Reply_ReplyTo","_updatedAt":new Date(1591734395163),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Direct_Reply","sectionPermissionId":"change-setting-Direct_Reply","settingId":"Direct_Reply_ReplyTo","sorter":NumberInt(18)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Direct_Reply_Separator","_updatedAt":new Date(1591734395155),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Direct_Reply","sectionPermissionId":"change-setting-Direct_Reply","settingId":"Direct_Reply_Separator","sorter":NumberInt(16)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Direct_Reply_Username","_updatedAt":new Date(1591734395157),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Direct_Reply","sectionPermissionId":"change-setting-Direct_Reply","settingId":"Direct_Reply_Username","sorter":NumberInt(17)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Discussion","_updatedAt":new Date(1591734400248),"level":"settings","roles":[],"settingId":"Discussion"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Discussion_enabled","_updatedAt":new Date(1591734400263),"group":"Discussion","groupPermissionId":"change-setting-Discussion","level":"settings","roles":[],"settingId":"Discussion_enabled","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Document_Domain","_updatedAt":new Date(1591734395517),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"settingId":"Document_Domain","sorter":NumberInt(13)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-E2E Encryption","_updatedAt":new Date(1591734396267),"level":"settings","roles":[],"settingId":"E2E Encryption"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-E2E_Enable","_updatedAt":new Date(1591734396268),"group":"E2E Encryption","groupPermissionId":"change-setting-E2E Encryption","level":"settings","roles":[],"settingId":"E2E_Enable","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-E2E_Enabled_Default_DirectRooms","_updatedAt":new Date(1591734396925),"group":"E2E Encryption","groupPermissionId":"change-setting-E2E Encryption","level":"settings","roles":[],"settingId":"E2E_Enabled_Default_DirectRooms","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-E2E_Enabled_Default_PrivateRooms","_updatedAt":new Date(1591734396927),"group":"E2E Encryption","groupPermissionId":"change-setting-E2E Encryption","level":"settings","roles":[],"settingId":"E2E_Enabled_Default_PrivateRooms","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Email","_updatedAt":new Date(1591734395089),"level":"settings","roles":[],"settingId":"Email"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Email_Changed_Email","_updatedAt":new Date(1591734395231),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Email_changed_section","sectionPermissionId":"change-setting-Email_changed_section","settingId":"Email_Changed_Email","sorter":NumberInt(41)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Email_Changed_Email_Subject","_updatedAt":new Date(1591734395229),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Email_changed_section","sectionPermissionId":"change-setting-Email_changed_section","settingId":"Email_Changed_Email_Subject","sorter":NumberInt(40)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Email_Footer","_updatedAt":new Date(1591734395121),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Header_and_Footer","sectionPermissionId":"change-setting-Header_and_Footer","settingId":"Email_Footer","sorter":NumberInt(6)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Email_Footer_Direct_Reply","_updatedAt":new Date(1591734395105),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Header_and_Footer","sectionPermissionId":"change-setting-Header_and_Footer","settingId":"Email_Footer_Direct_Reply","sorter":NumberInt(7)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Email_Header","_updatedAt":new Date(1591734395118),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Header_and_Footer","sectionPermissionId":"change-setting-Header_and_Footer","settingId":"Email_Header","sorter":NumberInt(5)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Email_notification_show_message","_updatedAt":new Date(1591734395240),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Privacy","sectionPermissionId":"change-setting-Privacy","settingId":"Email_notification_show_message","sorter":NumberInt(44)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-EmojiCustomFilesystem","_updatedAt":new Date(1591734395986),"level":"settings","roles":[],"settingId":"EmojiCustomFilesystem"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-EmojiUpload_FileSystemPath","_updatedAt":new Date(1591734395988),"group":"EmojiCustomFilesystem","groupPermissionId":"change-setting-EmojiCustomFilesystem","level":"settings","roles":[],"settingId":"EmojiUpload_FileSystemPath","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-EmojiUpload_Storage_Type","_updatedAt":new Date(1591734396774),"group":"EmojiCustomFilesystem","groupPermissionId":"change-setting-EmojiCustomFilesystem","level":"settings","roles":[],"settingId":"EmojiUpload_Storage_Type","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Enterprise","_updatedAt":new Date(1591734397566),"level":"settings","roles":[],"settingId":"Enterprise"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Enterprise_License","_updatedAt":new Date(1591734397582),"group":"Enterprise","groupPermissionId":"change-setting-Enterprise","level":"settings","roles":[],"section":"License","sectionPermissionId":"change-setting-License","settingId":"Enterprise_License","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Enterprise_License_Status","_updatedAt":new Date(1591734397593),"group":"Enterprise","groupPermissionId":"change-setting-Enterprise","level":"settings","roles":[],"section":"License","sectionPermissionId":"change-setting-License","settingId":"Enterprise_License_Status","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FEDERATION_Discovery_Method","_updatedAt":new Date(1591734398572),"group":"Federation","groupPermissionId":"change-setting-Federation","level":"settings","roles":[],"settingId":"FEDERATION_Discovery_Method","sorter":NumberInt(4)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FEDERATION_Domain","_updatedAt":new Date(1591734398544),"group":"Federation","groupPermissionId":"change-setting-Federation","level":"settings","roles":[],"settingId":"FEDERATION_Domain","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FEDERATION_Enabled","_updatedAt":new Date(1591734398500),"group":"Federation","groupPermissionId":"change-setting-Federation","level":"settings","roles":[],"settingId":"FEDERATION_Enabled","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FEDERATION_Public_Key","_updatedAt":new Date(1591734398559),"group":"Federation","groupPermissionId":"change-setting-Federation","level":"settings","roles":[],"settingId":"FEDERATION_Public_Key","sorter":NumberInt(3)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FEDERATION_Status","_updatedAt":new Date(1591734399558),"group":"Federation","groupPermissionId":"change-setting-Federation","level":"settings","roles":[],"settingId":"FEDERATION_Status","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FEDERATION_Test_Setup","_updatedAt":new Date(1591734398807),"group":"Federation","groupPermissionId":"change-setting-Federation","level":"settings","roles":[],"settingId":"FEDERATION_Test_Setup","sorter":NumberInt(5)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Favorite_Rooms","_updatedAt":new Date(1591734395526),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"settingId":"Favorite_Rooms","sorter":NumberInt(18)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Federation","_updatedAt":new Date(1591734398478),"level":"settings","roles":[],"settingId":"Federation"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload","_updatedAt":new Date(1591734395855),"level":"settings","roles":[],"settingId":"FileUpload"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload_Enable_json_web_token_for_files","_updatedAt":new Date(1591734395865),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"settingId":"FileUpload_Enable_json_web_token_for_files","sorter":NumberInt(4)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload_Enabled","_updatedAt":new Date(1591734395858),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"settingId":"FileUpload_Enabled","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload_Enabled_Direct","_updatedAt":new Date(1591734395913),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"settingId":"FileUpload_Enabled_Direct","sorter":NumberInt(31)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload_FileSystemPath","_updatedAt":new Date(1591734395901),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"File System","sectionPermissionId":"change-setting-File System","settingId":"FileUpload_FileSystemPath","sorter":NumberInt(24)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload_GoogleStorage_AccessId","_updatedAt":new Date(1591734396755),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"Google Cloud Storage","sectionPermissionId":"change-setting-Google Cloud Storage","settingId":"FileUpload_GoogleStorage_AccessId","sorter":NumberInt(20)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload_GoogleStorage_Bucket","_updatedAt":new Date(1591734396754),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"Google Cloud Storage","sectionPermissionId":"change-setting-Google Cloud Storage","settingId":"FileUpload_GoogleStorage_Bucket","sorter":NumberInt(19)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload_GoogleStorage_Proxy_Avatars","_updatedAt":new Date(1591734396766),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"Google Cloud Storage","sectionPermissionId":"change-setting-Google Cloud Storage","settingId":"FileUpload_GoogleStorage_Proxy_Avatars","sorter":NumberInt(22)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload_GoogleStorage_Proxy_Uploads","_updatedAt":new Date(1591734396768),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"Google Cloud Storage","sectionPermissionId":"change-setting-Google Cloud Storage","settingId":"FileUpload_GoogleStorage_Proxy_Uploads","sorter":NumberInt(23)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload_GoogleStorage_Secret","_updatedAt":new Date(1591734395899),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"Google Cloud Storage","sectionPermissionId":"change-setting-Google Cloud Storage","settingId":"FileUpload_GoogleStorage_Secret","sorter":NumberInt(21)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload_MaxFileSize","_updatedAt":new Date(1591734395860),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"settingId":"FileUpload_MaxFileSize","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload_MediaTypeWhiteList","_updatedAt":new Date(1591734396974),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"settingId":"FileUpload_MediaTypeWhiteList","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload_ProtectFiles","_updatedAt":new Date(1591734395863),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"settingId":"FileUpload_ProtectFiles","sorter":NumberInt(3)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload_S3_AWSAccessKeyId","_updatedAt":new Date(1591734395874),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"Amazon S3","sectionPermissionId":"change-setting-Amazon S3","settingId":"FileUpload_S3_AWSAccessKeyId","sorter":NumberInt(9)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload_S3_AWSSecretAccessKey","_updatedAt":new Date(1591734395877),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"Amazon S3","sectionPermissionId":"change-setting-Amazon S3","settingId":"FileUpload_S3_AWSSecretAccessKey","sorter":NumberInt(10)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload_S3_Acl","_updatedAt":new Date(1591734395872),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"Amazon S3","sectionPermissionId":"change-setting-Amazon S3","settingId":"FileUpload_S3_Acl","sorter":NumberInt(8)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload_S3_Bucket","_updatedAt":new Date(1591734395869),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"Amazon S3","sectionPermissionId":"change-setting-Amazon S3","settingId":"FileUpload_S3_Bucket","sorter":NumberInt(7)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload_S3_BucketURL","_updatedAt":new Date(1591734396752),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"Amazon S3","sectionPermissionId":"change-setting-Amazon S3","settingId":"FileUpload_S3_BucketURL","sorter":NumberInt(13)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload_S3_CDN","_updatedAt":new Date(1591734395880),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"Amazon S3","sectionPermissionId":"change-setting-Amazon S3","settingId":"FileUpload_S3_CDN","sorter":NumberInt(11)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload_S3_ForcePathStyle","_updatedAt":new Date(1591734395889),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"Amazon S3","sectionPermissionId":"change-setting-Amazon S3","settingId":"FileUpload_S3_ForcePathStyle","sorter":NumberInt(15)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload_S3_Proxy_Avatars","_updatedAt":new Date(1591734395894),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"Amazon S3","sectionPermissionId":"change-setting-Amazon S3","settingId":"FileUpload_S3_Proxy_Avatars","sorter":NumberInt(17)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload_S3_Proxy_Uploads","_updatedAt":new Date(1591734395897),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"Amazon S3","sectionPermissionId":"change-setting-Amazon S3","settingId":"FileUpload_S3_Proxy_Uploads","sorter":NumberInt(18)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload_S3_Region","_updatedAt":new Date(1591734395883),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"Amazon S3","sectionPermissionId":"change-setting-Amazon S3","settingId":"FileUpload_S3_Region","sorter":NumberInt(12)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload_S3_SignatureVersion","_updatedAt":new Date(1591734395887),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"Amazon S3","sectionPermissionId":"change-setting-Amazon S3","settingId":"FileUpload_S3_SignatureVersion","sorter":NumberInt(14)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload_S3_URLExpiryTimeSpan","_updatedAt":new Date(1591734395891),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"Amazon S3","sectionPermissionId":"change-setting-Amazon S3","settingId":"FileUpload_S3_URLExpiryTimeSpan","sorter":NumberInt(16)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload_Storage_Type","_updatedAt":new Date(1591734395867),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"settingId":"FileUpload_Storage_Type","sorter":NumberInt(6)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload_Webdav_Password","_updatedAt":new Date(1591734395907),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"WebDAV","sectionPermissionId":"change-setting-WebDAV","settingId":"FileUpload_Webdav_Password","sorter":NumberInt(28)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload_Webdav_Proxy_Avatars","_updatedAt":new Date(1591734395908),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"WebDAV","sectionPermissionId":"change-setting-WebDAV","settingId":"FileUpload_Webdav_Proxy_Avatars","sorter":NumberInt(29)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload_Webdav_Proxy_Uploads","_updatedAt":new Date(1591734395911),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"WebDAV","sectionPermissionId":"change-setting-WebDAV","settingId":"FileUpload_Webdav_Proxy_Uploads","sorter":NumberInt(30)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload_Webdav_Server_URL","_updatedAt":new Date(1591734395903),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"WebDAV","sectionPermissionId":"change-setting-WebDAV","settingId":"FileUpload_Webdav_Server_URL","sorter":NumberInt(26)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload_Webdav_Upload_Folder_Path","_updatedAt":new Date(1591734396769),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"WebDAV","sectionPermissionId":"change-setting-WebDAV","settingId":"FileUpload_Webdav_Upload_Folder_Path","sorter":NumberInt(25)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload_Webdav_Username","_updatedAt":new Date(1591734395905),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"WebDAV","sectionPermissionId":"change-setting-WebDAV","settingId":"FileUpload_Webdav_Username","sorter":NumberInt(27)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload_json_web_token_secret_for_files","_updatedAt":new Date(1591734396750),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"settingId":"FileUpload_json_web_token_secret_for_files","sorter":NumberInt(5)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-First_Channel_After_Login","_updatedAt":new Date(1591734395527),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"settingId":"First_Channel_After_Login","sorter":NumberInt(19)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Force_SSL","_updatedAt":new Date(1591734395551),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"settingId":"Force_SSL","sorter":NumberInt(26)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Forgot_Password_Email","_updatedAt":new Date(1591734395226),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Forgot_password_section","sectionPermissionId":"change-setting-Forgot_password_section","settingId":"Forgot_Password_Email","sorter":NumberInt(39)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Forgot_Password_Email_Subject","_updatedAt":new Date(1591734395221),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Forgot_password_section","sectionPermissionId":"change-setting-Forgot_password_section","settingId":"Forgot_Password_Email_Subject","sorter":NumberInt(38)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-From_Email","_updatedAt":new Date(1591734395189),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"SMTP","sectionPermissionId":"change-setting-SMTP","settingId":"From_Email","sorter":NumberInt(27)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-General","_updatedAt":new Date(1591734395007),"level":"settings","roles":[],"settingId":"General"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-GoogleAnalytics_ID","_updatedAt":new Date(1591734394997),"group":"Analytics","groupPermissionId":"change-setting-Analytics","level":"settings","roles":[],"section":"Analytics_Google","sectionPermissionId":"change-setting-Analytics_Google","settingId":"GoogleAnalytics_ID","sorter":NumberInt(8)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-GoogleAnalytics_enabled","_updatedAt":new Date(1591734394992),"group":"Analytics","groupPermissionId":"change-setting-Analytics","level":"settings","roles":[],"section":"Analytics_Google","sectionPermissionId":"change-setting-Analytics_Google","settingId":"GoogleAnalytics_enabled","sorter":NumberInt(7)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-GoogleTagManager_id","_updatedAt":new Date(1591734395556),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"settingId":"GoogleTagManager_id","sorter":NumberInt(28)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-GoogleVision_Block_Adult_Images","_updatedAt":new Date(1591734399020),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"Google Vision","sectionPermissionId":"change-setting-Google Vision","settingId":"GoogleVision_Block_Adult_Images","sorter":NumberInt(44)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-GoogleVision_Current_Month_Calls","_updatedAt":new Date(1591734398911),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"Google Vision","sectionPermissionId":"change-setting-Google Vision","settingId":"GoogleVision_Current_Month_Calls","sorter":NumberInt(36)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-GoogleVision_Enable","_updatedAt":new Date(1591734398823),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"Google Vision","sectionPermissionId":"change-setting-Google Vision","settingId":"GoogleVision_Enable","sorter":NumberInt(32)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-GoogleVision_Max_Monthly_Calls","_updatedAt":new Date(1591734398845),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"Google Vision","sectionPermissionId":"change-setting-Google Vision","settingId":"GoogleVision_Max_Monthly_Calls","sorter":NumberInt(34)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-GoogleVision_ServiceAccount","_updatedAt":new Date(1591734398833),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"Google Vision","sectionPermissionId":"change-setting-Google Vision","settingId":"GoogleVision_ServiceAccount","sorter":NumberInt(33)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-GoogleVision_Type_Document","_updatedAt":new Date(1591734398926),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"Google Vision","sectionPermissionId":"change-setting-Google Vision","settingId":"GoogleVision_Type_Document","sorter":NumberInt(37)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-GoogleVision_Type_Faces","_updatedAt":new Date(1591734398939),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"Google Vision","sectionPermissionId":"change-setting-Google Vision","settingId":"GoogleVision_Type_Faces","sorter":NumberInt(38)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-GoogleVision_Type_Labels","_updatedAt":new Date(1591734398965),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"Google Vision","sectionPermissionId":"change-setting-Google Vision","settingId":"GoogleVision_Type_Labels","sorter":NumberInt(40)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-GoogleVision_Type_Landmarks","_updatedAt":new Date(1591734398952),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"Google Vision","sectionPermissionId":"change-setting-Google Vision","settingId":"GoogleVision_Type_Landmarks","sorter":NumberInt(39)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-GoogleVision_Type_Logos","_updatedAt":new Date(1591734398977),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"Google Vision","sectionPermissionId":"change-setting-Google Vision","settingId":"GoogleVision_Type_Logos","sorter":NumberInt(41)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-GoogleVision_Type_Properties","_updatedAt":new Date(1591734398990),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"Google Vision","sectionPermissionId":"change-setting-Google Vision","settingId":"GoogleVision_Type_Properties","sorter":NumberInt(42)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-GoogleVision_Type_SafeSearch","_updatedAt":new Date(1591734399004),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"Google Vision","sectionPermissionId":"change-setting-Google Vision","settingId":"GoogleVision_Type_SafeSearch","sorter":NumberInt(43)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-GoogleVision_Type_Similar","_updatedAt":new Date(1591734399030),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"Google Vision","sectionPermissionId":"change-setting-Google Vision","settingId":"GoogleVision_Type_Similar","sorter":NumberInt(45)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-HexColorPreview_Enabled","_updatedAt":new Date(1591734395935),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"Hex_Color_Preview","sectionPermissionId":"change-setting-Hex_Color_Preview","settingId":"HexColorPreview_Enabled","sorter":NumberInt(34)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Hide_System_Messages","_updatedAt":new Date(1591734395657),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"Hide_System_Messages","sorter":NumberInt(31)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-IRC_Description","_updatedAt":new Date(1591734399212),"group":"IRC_Federation","groupPermissionId":"change-setting-IRC_Federation","level":"settings","roles":[],"settingId":"IRC_Description","sorter":NumberInt(5)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-IRC_Enabled","_updatedAt":new Date(1591734399173),"group":"IRC_Federation","groupPermissionId":"change-setting-IRC_Federation","level":"settings","roles":[],"settingId":"IRC_Enabled","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-IRC_Federation","_updatedAt":new Date(1591734399122),"level":"settings","roles":[],"settingId":"IRC_Federation"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-IRC_Host","_updatedAt":new Date(1591734399190),"group":"IRC_Federation","groupPermissionId":"change-setting-IRC_Federation","level":"settings","roles":[],"settingId":"IRC_Host","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-IRC_Local_Password","_updatedAt":new Date(1591734399220),"group":"IRC_Federation","groupPermissionId":"change-setting-IRC_Federation","level":"settings","roles":[],"settingId":"IRC_Local_Password","sorter":NumberInt(6)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-IRC_Name","_updatedAt":new Date(1591734399205),"group":"IRC_Federation","groupPermissionId":"change-setting-IRC_Federation","level":"settings","roles":[],"settingId":"IRC_Name","sorter":NumberInt(4)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-IRC_Peer_Password","_updatedAt":new Date(1591734399229),"group":"IRC_Federation","groupPermissionId":"change-setting-IRC_Federation","level":"settings","roles":[],"settingId":"IRC_Peer_Password","sorter":NumberInt(7)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-IRC_Port","_updatedAt":new Date(1591734399197),"group":"IRC_Federation","groupPermissionId":"change-setting-IRC_Federation","level":"settings","roles":[],"settingId":"IRC_Port","sorter":NumberInt(3)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-IRC_Protocol","_updatedAt":new Date(1591734399180),"group":"IRC_Federation","groupPermissionId":"change-setting-IRC_Federation","level":"settings","roles":[],"settingId":"IRC_Protocol","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-IRC_Reset_Connection","_updatedAt":new Date(1591734399237),"group":"IRC_Federation","groupPermissionId":"change-setting-IRC_Federation","level":"settings","roles":[],"settingId":"IRC_Reset_Connection","sorter":NumberInt(8)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Iframe_Integration_receive_enable","_updatedAt":new Date(1591734395580),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"section":"Iframe_Integration","sectionPermissionId":"change-setting-Iframe_Integration","settingId":"Iframe_Integration_receive_enable","sorter":NumberInt(40)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Iframe_Integration_receive_origin","_updatedAt":new Date(1591734395582),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"section":"Iframe_Integration","sectionPermissionId":"change-setting-Iframe_Integration","settingId":"Iframe_Integration_receive_origin","sorter":NumberInt(41)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Iframe_Integration_send_enable","_updatedAt":new Date(1591734395576),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"section":"Iframe_Integration","sectionPermissionId":"change-setting-Iframe_Integration","settingId":"Iframe_Integration_send_enable","sorter":NumberInt(38)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Iframe_Integration_send_target_origin","_updatedAt":new Date(1591734395578),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"section":"Iframe_Integration","sectionPermissionId":"change-setting-Iframe_Integration","settingId":"Iframe_Integration_send_target_origin","sorter":NumberInt(39)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Iframe_Restrict_Access","_updatedAt":new Date(1591734395522),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"settingId":"Iframe_Restrict_Access","sorter":NumberInt(16)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Iframe_X_Frame_Options","_updatedAt":new Date(1591734395524),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"settingId":"Iframe_X_Frame_Options","sorter":NumberInt(17)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Industry","_updatedAt":new Date(1591734395780),"group":"Setup_Wizard","groupPermissionId":"change-setting-Setup_Wizard","level":"settings","roles":[],"section":"Organization_Info","sectionPermissionId":"change-setting-Organization_Info","settingId":"Industry","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Invitation_Email","_updatedAt":new Date(1591734395219),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Invitation","sectionPermissionId":"change-setting-Invitation","settingId":"Invitation_Email","sorter":NumberInt(37)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Invitation_Subject","_updatedAt":new Date(1591734395216),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Invitation","sectionPermissionId":"change-setting-Invitation","settingId":"Invitation_Subject","sorter":NumberInt(36)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-IssueLinks_Enabled","_updatedAt":new Date(1591734396018),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"Issue_Links","sectionPermissionId":"change-setting-Issue_Links","settingId":"IssueLinks_Enabled","sorter":NumberInt(35)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-IssueLinks_Template","_updatedAt":new Date(1591734396020),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"Issue_Links","sectionPermissionId":"change-setting-Issue_Links","settingId":"IssueLinks_Template","sorter":NumberInt(36)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Jitsi_Application_ID","_updatedAt":new Date(1591734399579),"group":"Video Conference","groupPermissionId":"change-setting-Video Conference","level":"settings","roles":[],"section":"Jitsi","sectionPermissionId":"change-setting-Jitsi","settingId":"Jitsi_Application_ID","sorter":NumberInt(14)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Jitsi_Application_Secret","_updatedAt":new Date(1591734399589),"group":"Video Conference","groupPermissionId":"change-setting-Video Conference","level":"settings","roles":[],"section":"Jitsi","sectionPermissionId":"change-setting-Jitsi","settingId":"Jitsi_Application_Secret","sorter":NumberInt(15)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Jitsi_Chrome_Extension","_updatedAt":new Date(1591734399564),"group":"Video Conference","groupPermissionId":"change-setting-Video Conference","level":"settings","roles":[],"section":"Jitsi","sectionPermissionId":"change-setting-Jitsi","settingId":"Jitsi_Chrome_Extension","sorter":NumberInt(12)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Jitsi_Domain","_updatedAt":new Date(1591734399520),"group":"Video Conference","groupPermissionId":"change-setting-Video Conference","level":"settings","roles":[],"section":"Jitsi","sectionPermissionId":"change-setting-Jitsi","settingId":"Jitsi_Domain","sorter":NumberInt(7)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Jitsi_Enable_Channels","_updatedAt":new Date(1591734399551),"group":"Video Conference","groupPermissionId":"change-setting-Video Conference","level":"settings","roles":[],"section":"Jitsi","sectionPermissionId":"change-setting-Jitsi","settingId":"Jitsi_Enable_Channels","sorter":NumberInt(11)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Jitsi_Enabled","_updatedAt":new Date(1591734399511),"group":"Video Conference","groupPermissionId":"change-setting-Video Conference","level":"settings","roles":[],"section":"Jitsi","sectionPermissionId":"change-setting-Jitsi","settingId":"Jitsi_Enabled","sorter":NumberInt(6)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Jitsi_Enabled_TokenAuth","_updatedAt":new Date(1591734399572),"group":"Video Conference","groupPermissionId":"change-setting-Video Conference","level":"settings","roles":[],"section":"Jitsi","sectionPermissionId":"change-setting-Jitsi","settingId":"Jitsi_Enabled_TokenAuth","sorter":NumberInt(13)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Jitsi_Limit_Token_To_Room","_updatedAt":new Date(1591734399598),"group":"Video Conference","groupPermissionId":"change-setting-Video Conference","level":"settings","roles":[],"section":"Jitsi","sectionPermissionId":"change-setting-Jitsi","settingId":"Jitsi_Limit_Token_To_Room","sorter":NumberInt(16)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Jitsi_Open_New_Window","_updatedAt":new Date(1591734399543),"group":"Video Conference","groupPermissionId":"change-setting-Video Conference","level":"settings","roles":[],"section":"Jitsi","sectionPermissionId":"change-setting-Jitsi","settingId":"Jitsi_Open_New_Window","sorter":NumberInt(10)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Jitsi_SSL","_updatedAt":new Date(1591734399536),"group":"Video Conference","groupPermissionId":"change-setting-Video Conference","level":"settings","roles":[],"section":"Jitsi","sectionPermissionId":"change-setting-Jitsi","settingId":"Jitsi_SSL","sorter":NumberInt(9)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Jitsi_URL_Room_Prefix","_updatedAt":new Date(1591734399529),"group":"Video Conference","groupPermissionId":"change-setting-Video Conference","level":"settings","roles":[],"section":"Jitsi","sectionPermissionId":"change-setting-Jitsi","settingId":"Jitsi_URL_Room_Prefix","sorter":NumberInt(8)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Katex_Dollar_Syntax","_updatedAt":new Date(1591734399258),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"Katex","sectionPermissionId":"change-setting-Katex","settingId":"Katex_Dollar_Syntax","sorter":NumberInt(64)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Katex_Enabled","_updatedAt":new Date(1591734399244),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"Katex","sectionPermissionId":"change-setting-Katex","settingId":"Katex_Enabled","sorter":NumberInt(62)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Katex_Parenthesis_Syntax","_updatedAt":new Date(1591734399251),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"Katex","sectionPermissionId":"change-setting-Katex","settingId":"Katex_Parenthesis_Syntax","sorter":NumberInt(63)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP","_updatedAt":new Date(1591734396023),"level":"settings","roles":[],"settingId":"LDAP"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Authentication","_updatedAt":new Date(1591734396055),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"Authentication","sectionPermissionId":"change-setting-Authentication","settingId":"LDAP_Authentication","sorter":NumberInt(12)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Authentication_Password","_updatedAt":new Date(1591734396784),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"Authentication","sectionPermissionId":"change-setting-Authentication","settingId":"LDAP_Authentication_Password","sorter":NumberInt(14)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Authentication_UserDN","_updatedAt":new Date(1591734396781),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"Authentication","sectionPermissionId":"change-setting-Authentication","settingId":"LDAP_Authentication_UserDN","sorter":NumberInt(13)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Background_Sync","_updatedAt":new Date(1591734396117),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"Sync / Import","sectionPermissionId":"change-setting-Sync / Import","settingId":"LDAP_Background_Sync","sorter":NumberInt(45)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Background_Sync_Import_New_Users","_updatedAt":new Date(1591734396788),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"Sync / Import","sectionPermissionId":"change-setting-Sync / Import","settingId":"LDAP_Background_Sync_Import_New_Users","sorter":NumberInt(47)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Background_Sync_Interval","_updatedAt":new Date(1591734396118),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"Sync / Import","sectionPermissionId":"change-setting-Sync / Import","settingId":"LDAP_Background_Sync_Interval","sorter":NumberInt(46)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Background_Sync_Keep_Existant_Users_Updated","_updatedAt":new Date(1591734396120),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"Sync / Import","sectionPermissionId":"change-setting-Sync / Import","settingId":"LDAP_Background_Sync_Keep_Existant_Users_Updated","sorter":NumberInt(48)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_BaseDN","_updatedAt":new Date(1591734396048),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"settingId":"LDAP_BaseDN","sorter":NumberInt(9)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_CA_Cert","_updatedAt":new Date(1591734396043),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"settingId":"LDAP_CA_Cert","sorter":NumberInt(7)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Connect_Timeout","_updatedAt":new Date(1591734396059),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"Timeouts","sectionPermissionId":"change-setting-Timeouts","settingId":"LDAP_Connect_Timeout","sorter":NumberInt(16)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Default_Domain","_updatedAt":new Date(1591734396093),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"Sync / Import","sectionPermissionId":"change-setting-Sync / Import","settingId":"LDAP_Default_Domain","sorter":NumberInt(31)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Enable","_updatedAt":new Date(1591734396027),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"settingId":"LDAP_Enable","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Encryption","_updatedAt":new Date(1591734396041),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"settingId":"LDAP_Encryption","sorter":NumberInt(6)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Find_User_After_Login","_updatedAt":new Date(1591734396031),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"settingId":"LDAP_Find_User_After_Login","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Group_Filter_Enable","_updatedAt":new Date(1591734396076),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"User Search (Group Validation)","sectionPermissionId":"change-setting-User Search (Group Validation)","settingId":"LDAP_Group_Filter_Enable","sorter":NumberInt(23)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Group_Filter_Group_Id_Attribute","_updatedAt":new Date(1591734396080),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"User Search (Group Validation)","sectionPermissionId":"change-setting-User Search (Group Validation)","settingId":"LDAP_Group_Filter_Group_Id_Attribute","sorter":NumberInt(25)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Group_Filter_Group_Member_Attribute","_updatedAt":new Date(1591734396082),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"User Search (Group Validation)","sectionPermissionId":"change-setting-User Search (Group Validation)","settingId":"LDAP_Group_Filter_Group_Member_Attribute","sorter":NumberInt(26)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Group_Filter_Group_Member_Format","_updatedAt":new Date(1591734396084),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"User Search (Group Validation)","sectionPermissionId":"change-setting-User Search (Group Validation)","settingId":"LDAP_Group_Filter_Group_Member_Format","sorter":NumberInt(27)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Group_Filter_Group_Name","_updatedAt":new Date(1591734396087),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"User Search (Group Validation)","sectionPermissionId":"change-setting-User Search (Group Validation)","settingId":"LDAP_Group_Filter_Group_Name","sorter":NumberInt(28)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Group_Filter_ObjectClass","_updatedAt":new Date(1591734396078),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"User Search (Group Validation)","sectionPermissionId":"change-setting-User Search (Group Validation)","settingId":"LDAP_Group_Filter_ObjectClass","sorter":NumberInt(24)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Host","_updatedAt":new Date(1591734396034),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"settingId":"LDAP_Host","sorter":NumberInt(3)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Idle_Timeout","_updatedAt":new Date(1591734396062),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"Timeouts","sectionPermissionId":"change-setting-Timeouts","settingId":"LDAP_Idle_Timeout","sorter":NumberInt(17)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Internal_Log_Level","_updatedAt":new Date(1591734396050),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"settingId":"LDAP_Internal_Log_Level","sorter":NumberInt(10)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Login_Fallback","_updatedAt":new Date(1591734396029),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"settingId":"LDAP_Login_Fallback","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Merge_Existing_Users","_updatedAt":new Date(1591734396095),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"Sync / Import","sectionPermissionId":"change-setting-Sync / Import","settingId":"LDAP_Merge_Existing_Users","sorter":NumberInt(32)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Port","_updatedAt":new Date(1591734396036),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"settingId":"LDAP_Port","sorter":NumberInt(4)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Reconnect","_updatedAt":new Date(1591734396039),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"settingId":"LDAP_Reconnect","sorter":NumberInt(5)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Reject_Unauthorized","_updatedAt":new Date(1591734396045),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"settingId":"LDAP_Reject_Unauthorized","sorter":NumberInt(8)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Search_Page_Size","_updatedAt":new Date(1591734396072),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"User Search","sectionPermissionId":"change-setting-User Search","settingId":"LDAP_Search_Page_Size","sorter":NumberInt(21)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Search_Size_Limit","_updatedAt":new Date(1591734396074),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"User Search","sectionPermissionId":"change-setting-User Search","settingId":"LDAP_Search_Size_Limit","sorter":NumberInt(22)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Sync_Now","_updatedAt":new Date(1591734396122),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"Sync / Import","sectionPermissionId":"change-setting-Sync / Import","settingId":"LDAP_Sync_Now","sorter":NumberInt(49)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Sync_User_Avatar","_updatedAt":new Date(1591734396115),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"Sync / Import","sectionPermissionId":"change-setting-Sync / Import","settingId":"LDAP_Sync_User_Avatar","sorter":NumberInt(44)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Sync_User_Data","_updatedAt":new Date(1591734396097),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"Sync / Import","sectionPermissionId":"change-setting-Sync / Import","settingId":"LDAP_Sync_User_Data","sorter":NumberInt(33)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Sync_User_Data_FieldMap","_updatedAt":new Date(1591734396099),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"Sync / Import","sectionPermissionId":"change-setting-Sync / Import","settingId":"LDAP_Sync_User_Data_FieldMap","sorter":NumberInt(34)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Sync_User_Data_Groups","_updatedAt":new Date(1591734396101),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"Sync / Import","sectionPermissionId":"change-setting-Sync / Import","settingId":"LDAP_Sync_User_Data_Groups","sorter":NumberInt(35)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Sync_User_Data_GroupsMap","_updatedAt":new Date(1591734396106),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"Sync / Import","sectionPermissionId":"change-setting-Sync / Import","settingId":"LDAP_Sync_User_Data_GroupsMap","sorter":NumberInt(39)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Sync_User_Data_Groups_AutoChannels","_updatedAt":new Date(1591734396108),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"Sync / Import","sectionPermissionId":"change-setting-Sync / Import","settingId":"LDAP_Sync_User_Data_Groups_AutoChannels","sorter":NumberInt(40)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Sync_User_Data_Groups_AutoChannelsMap","_updatedAt":new Date(1591734396111),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"Sync / Import","sectionPermissionId":"change-setting-Sync / Import","settingId":"LDAP_Sync_User_Data_Groups_AutoChannelsMap","sorter":NumberInt(42)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Sync_User_Data_Groups_AutoChannels_Admin","_updatedAt":new Date(1591734396109),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"Sync / Import","sectionPermissionId":"change-setting-Sync / Import","settingId":"LDAP_Sync_User_Data_Groups_AutoChannels_Admin","sorter":NumberInt(41)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Sync_User_Data_Groups_AutoRemove","_updatedAt":new Date(1591734396103),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"Sync / Import","sectionPermissionId":"change-setting-Sync / Import","settingId":"LDAP_Sync_User_Data_Groups_AutoRemove","sorter":NumberInt(36)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Sync_User_Data_Groups_BaseDN","_updatedAt":new Date(1591734396786),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"Sync / Import","sectionPermissionId":"change-setting-Sync / Import","settingId":"LDAP_Sync_User_Data_Groups_BaseDN","sorter":NumberInt(38)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Sync_User_Data_Groups_Enforce_AutoChannels","_updatedAt":new Date(1591734396113),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"Sync / Import","sectionPermissionId":"change-setting-Sync / Import","settingId":"LDAP_Sync_User_Data_Groups_Enforce_AutoChannels","sorter":NumberInt(43)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Sync_User_Data_Groups_Filter","_updatedAt":new Date(1591734396104),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"Sync / Import","sectionPermissionId":"change-setting-Sync / Import","settingId":"LDAP_Sync_User_Data_Groups_Filter","sorter":NumberInt(37)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Test_Connection","_updatedAt":new Date(1591734396052),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"settingId":"LDAP_Test_Connection","sorter":NumberInt(11)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Timeout","_updatedAt":new Date(1591734396057),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"Timeouts","sectionPermissionId":"change-setting-Timeouts","settingId":"LDAP_Timeout","sorter":NumberInt(15)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Unique_Identifier_Field","_updatedAt":new Date(1591734396091),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"Sync / Import","sectionPermissionId":"change-setting-Sync / Import","settingId":"LDAP_Unique_Identifier_Field","sorter":NumberInt(30)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_User_Search_Field","_updatedAt":new Date(1591734396070),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"User Search","sectionPermissionId":"change-setting-User Search","settingId":"LDAP_User_Search_Field","sorter":NumberInt(20)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_User_Search_Filter","_updatedAt":new Date(1591734396065),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"User Search","sectionPermissionId":"change-setting-User Search","settingId":"LDAP_User_Search_Filter","sorter":NumberInt(18)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_User_Search_Scope","_updatedAt":new Date(1591734396067),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"User Search","sectionPermissionId":"change-setting-User Search","settingId":"LDAP_User_Search_Scope","sorter":NumberInt(19)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Username_Field","_updatedAt":new Date(1591734396089),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"Sync / Import","sectionPermissionId":"change-setting-Sync / Import","settingId":"LDAP_Username_Field","sorter":NumberInt(29)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Language","_updatedAt":new Date(1591734395519),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"settingId":"Language","sorter":NumberInt(14)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Layout","_updatedAt":new Date(1591734395705),"level":"settings","roles":[],"settingId":"Layout"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Layout_Home_Body","_updatedAt":new Date(1591734395708),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Content","sectionPermissionId":"change-setting-Content","settingId":"Layout_Home_Body","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Layout_Home_Title","_updatedAt":new Date(1591734395707),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Content","sectionPermissionId":"change-setting-Content","settingId":"Layout_Home_Title","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Layout_Legal_Notice","_updatedAt":new Date(1591734395715),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Content","sectionPermissionId":"change-setting-Content","settingId":"Layout_Legal_Notice","sorter":NumberInt(6)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Layout_Login_Terms","_updatedAt":new Date(1591734395711),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Content","sectionPermissionId":"change-setting-Content","settingId":"Layout_Login_Terms","sorter":NumberInt(4)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Layout_Privacy_Policy","_updatedAt":new Date(1591734395713),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Content","sectionPermissionId":"change-setting-Content","settingId":"Layout_Privacy_Policy","sorter":NumberInt(5)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Layout_Show_Home_Button","_updatedAt":new Date(1591734396890),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Content","sectionPermissionId":"change-setting-Content","settingId":"Layout_Show_Home_Button","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Layout_Sidenav_Footer","_updatedAt":new Date(1591734395716),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Content","sectionPermissionId":"change-setting-Content","settingId":"Layout_Sidenav_Footer","sorter":NumberInt(7)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Layout_Terms_of_Service","_updatedAt":new Date(1591734395710),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Content","sectionPermissionId":"change-setting-Content","settingId":"Layout_Terms_of_Service","sorter":NumberInt(3)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LiveStream & Broadcasting","_updatedAt":new Date(1591734399268),"level":"settings","roles":[],"settingId":"LiveStream & Broadcasting"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_Allow_collect_and_store_HTTP_header_informations","_updatedAt":new Date(1591734401050),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"settingId":"Livechat_Allow_collect_and_store_HTTP_header_informations","sorter":NumberInt(62),"section":"GDPR","sectionPermissionId":"change-setting-GDPR"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_AllowedDomainsList","_updatedAt":new Date(1591734400964),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"settingId":"Livechat_AllowedDomainsList","sorter":NumberInt(50),"section":"Livechat","sectionPermissionId":"change-setting-Livechat"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_External_Queue_Token","_updatedAt":new Date(1591734401044),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"Routing","sectionPermissionId":"change-setting-Routing","settingId":"Livechat_External_Queue_Token","sorter":NumberInt(61)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_External_Queue_URL","_updatedAt":new Date(1591734401037),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"Routing","sectionPermissionId":"change-setting-Routing","settingId":"Livechat_External_Queue_URL","sorter":NumberInt(60)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_Facebook_API_Key","_updatedAt":new Date(1591734400979),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"Facebook","sectionPermissionId":"change-setting-Facebook","settingId":"Livechat_Facebook_API_Key","sorter":NumberInt(52)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_Facebook_API_Secret","_updatedAt":new Date(1591734400987),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"Facebook","sectionPermissionId":"change-setting-Facebook","settingId":"Livechat_Facebook_API_Secret","sorter":NumberInt(53)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_Facebook_Enabled","_updatedAt":new Date(1591734400972),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"Facebook","sectionPermissionId":"change-setting-Facebook","settingId":"Livechat_Facebook_Enabled","sorter":NumberInt(51)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_Knowledge_Apiai_Key","_updatedAt":new Date(1591734400867),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"Knowledge_Base","sectionPermissionId":"change-setting-Knowledge_Base","settingId":"Livechat_Knowledge_Apiai_Key","sorter":NumberInt(38)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_Knowledge_Apiai_Language","_updatedAt":new Date(1591734400876),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"Knowledge_Base","sectionPermissionId":"change-setting-Knowledge_Base","settingId":"Livechat_Knowledge_Apiai_Language","sorter":NumberInt(39)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_Knowledge_Enabled","_updatedAt":new Date(1591734400860),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"Knowledge_Base","sectionPermissionId":"change-setting-Knowledge_Base","settingId":"Livechat_Knowledge_Enabled","sorter":NumberInt(37)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_RDStation_Token","_updatedAt":new Date(1591734400997),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"RD Station","sectionPermissionId":"change-setting-RD Station","settingId":"Livechat_RDStation_Token","sorter":NumberInt(54)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_Room_Count","_updatedAt":new Date(1591734400722),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"settingId":"Livechat_Room_Count","sorter":NumberInt(25)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_Routing_Method","_updatedAt":new Date(1591734401004),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"Routing","sectionPermissionId":"change-setting-Routing","settingId":"Livechat_Routing_Method","sorter":NumberInt(55)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_Visitor_navigation_as_a_message","_updatedAt":new Date(1591734400891),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"settingId":"Livechat_Visitor_navigation_as_a_message","sorter":NumberInt(41),"section":"Livechat","sectionPermissionId":"change-setting-Livechat"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_accept_chats_with_no_agents","_updatedAt":new Date(1591734401012),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"Routing","sectionPermissionId":"change-setting-Routing","settingId":"Livechat_accept_chats_with_no_agents","sorter":NumberInt(56)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_agent_leave_action","_updatedAt":new Date(1591734401074),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"Sessions","sectionPermissionId":"change-setting-Sessions","settingId":"Livechat_agent_leave_action","sorter":NumberInt(65)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_agent_leave_action_timeout","_updatedAt":new Date(1591734401081),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"Sessions","sectionPermissionId":"change-setting-Sessions","settingId":"Livechat_agent_leave_action_timeout","sorter":NumberInt(66)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_agent_leave_comment","_updatedAt":new Date(1591734401088),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"Sessions","sectionPermissionId":"change-setting-Sessions","settingId":"Livechat_agent_leave_comment","sorter":NumberInt(67)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_allow_online_agents_outside_office_hours","_updatedAt":new Date(1591734400907),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"settingId":"Livechat_allow_online_agents_outside_office_hours","sorter":NumberInt(43)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_allow_switching_departments","_updatedAt":new Date(1591734400505),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"settingId":"Livechat_allow_switching_departments","sorter":NumberInt(15),"section":"Livechat","sectionPermissionId":"change-setting-Livechat"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_assign_new_conversation_to_bot","_updatedAt":new Date(1591734401018),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"Routing","sectionPermissionId":"change-setting-Routing","settingId":"Livechat_assign_new_conversation_to_bot","sorter":NumberInt(57)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_continuous_sound_notification_new_livechat_room","_updatedAt":new Date(1591734400914),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"settingId":"Livechat_continuous_sound_notification_new_livechat_room","sorter":NumberInt(44)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_conversation_finished_message","_updatedAt":new Date(1591734400614),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"settingId":"Livechat_conversation_finished_message","sorter":NumberInt(19),"section":"Livechat","sectionPermissionId":"change-setting-Livechat"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_conversation_finished_text","_updatedAt":new Date(1591734400629),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"settingId":"Livechat_conversation_finished_text","sorter":NumberInt(20),"section":"Livechat","sectionPermissionId":"change-setting-Livechat"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_data_processing_consent_text","_updatedAt":new Date(1591734401066),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"settingId":"Livechat_data_processing_consent_text","sorter":NumberInt(64),"section":"GDPR","sectionPermissionId":"change-setting-GDPR"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_display_offline_form","_updatedAt":new Date(1591734400351),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"Livechat","sectionPermissionId":"change-setting-Livechat","settingId":"Livechat_display_offline_form","sorter":NumberInt(7)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_email_field_registration_form","_updatedAt":new Date(1591734400685),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"settingId":"Livechat_email_field_registration_form","sorter":NumberInt(23),"section":"Livechat","sectionPermissionId":"change-setting-Livechat"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_enable_office_hours","_updatedAt":new Date(1591734400900),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"settingId":"Livechat_enable_office_hours","sorter":NumberInt(42)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_enable_transcript","_updatedAt":new Date(1591734400939),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"settingId":"Livechat_enable_transcript","sorter":NumberInt(47)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_enabled","_updatedAt":new Date(1591734400318),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"settingId":"Livechat_enabled","sorter":NumberInt(4)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_enabled_when_agent_idle","_updatedAt":new Date(1591734400733),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"settingId":"Livechat_enabled_when_agent_idle","sorter":NumberInt(26)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_fileupload_enabled","_updatedAt":new Date(1591734400930),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"settingId":"Livechat_fileupload_enabled","sorter":NumberInt(46)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_force_accept_data_processing_consent","_updatedAt":new Date(1591734401059),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"settingId":"Livechat_force_accept_data_processing_consent","sorter":NumberInt(63),"section":"GDPR","sectionPermissionId":"change-setting-GDPR"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_guest_count","_updatedAt":new Date(1591734400696),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"settingId":"Livechat_guest_count","sorter":NumberInt(24)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_guest_pool_max_number_incoming_livechats_displayed","_updatedAt":new Date(1591734401024),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"Routing","sectionPermissionId":"change-setting-Routing","settingId":"Livechat_guest_pool_max_number_incoming_livechats_displayed","sorter":NumberInt(58)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_history_monitor_type","_updatedAt":new Date(1591734400882),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"settingId":"Livechat_history_monitor_type","sorter":NumberInt(40),"section":"Livechat","sectionPermissionId":"change-setting-Livechat"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_lead_email_regex","_updatedAt":new Date(1591734400845),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"CRM_Integration","sectionPermissionId":"change-setting-CRM_Integration","settingId":"Livechat_lead_email_regex","sorter":NumberInt(35)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_lead_phone_regex","_updatedAt":new Date(1591734400851),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"CRM_Integration","sectionPermissionId":"change-setting-CRM_Integration","settingId":"Livechat_lead_phone_regex","sorter":NumberInt(36)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_name_field_registration_form","_updatedAt":new Date(1591734400672),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"settingId":"Livechat_name_field_registration_form","sorter":NumberInt(22),"section":"Livechat","sectionPermissionId":"change-setting-Livechat"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_offline_email","_updatedAt":new Date(1591734400453),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"Livechat","sectionPermissionId":"change-setting-Livechat","settingId":"Livechat_offline_email","sorter":NumberInt(13)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_offline_form_unavailable","_updatedAt":new Date(1591734400386),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"Livechat","sectionPermissionId":"change-setting-Livechat","settingId":"Livechat_offline_form_unavailable","sorter":NumberInt(9)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_offline_message","_updatedAt":new Date(1591734400433),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"Livechat","sectionPermissionId":"change-setting-Livechat","settingId":"Livechat_offline_message","sorter":NumberInt(12)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_offline_success_message","_updatedAt":new Date(1591734400476),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"Livechat","sectionPermissionId":"change-setting-Livechat","settingId":"Livechat_offline_success_message","sorter":NumberInt(14)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_offline_title","_updatedAt":new Date(1591734400400),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"Livechat","sectionPermissionId":"change-setting-Livechat","settingId":"Livechat_offline_title","sorter":NumberInt(10)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_offline_title_color","_updatedAt":new Date(1591734400420),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"Livechat","sectionPermissionId":"change-setting-Livechat","settingId":"Livechat_offline_title_color","sorter":NumberInt(11)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_registration_form","_updatedAt":new Date(1591734400639),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"settingId":"Livechat_registration_form","sorter":NumberInt(21),"section":"Livechat","sectionPermissionId":"change-setting-Livechat"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_registration_form_message","_updatedAt":new Date(1591734400956),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"settingId":"Livechat_registration_form_message","sorter":NumberInt(49),"section":"Livechat","sectionPermissionId":"change-setting-Livechat"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_request_comment_when_closing_conversation","_updatedAt":new Date(1591734400603),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"settingId":"Livechat_request_comment_when_closing_conversation","sorter":NumberInt(18)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_secret_token","_updatedAt":new Date(1591734400752),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"CRM_Integration","sectionPermissionId":"change-setting-CRM_Integration","settingId":"Livechat_secret_token","sorter":NumberInt(28)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_show_agent_email","_updatedAt":new Date(1591734400556),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"settingId":"Livechat_show_agent_email","sorter":NumberInt(17),"section":"Livechat","sectionPermissionId":"change-setting-Livechat"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_show_agent_info","_updatedAt":new Date(1591734400532),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"settingId":"Livechat_show_agent_info","sorter":NumberInt(16),"section":"Livechat","sectionPermissionId":"change-setting-Livechat"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_show_queue_list_link","_updatedAt":new Date(1591734401030),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"Routing","sectionPermissionId":"change-setting-Routing","settingId":"Livechat_show_queue_list_link","sorter":NumberInt(59)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_title","_updatedAt":new Date(1591734400327),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"settingId":"Livechat_title","sorter":NumberInt(5),"section":"Livechat","sectionPermissionId":"change-setting-Livechat"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_title_color","_updatedAt":new Date(1591734400338),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"settingId":"Livechat_title_color","sorter":NumberInt(6),"section":"Livechat","sectionPermissionId":"change-setting-Livechat"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_transcript_message","_updatedAt":new Date(1591734400947),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"settingId":"Livechat_transcript_message","sorter":NumberInt(48)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_validate_offline_email","_updatedAt":new Date(1591734400372),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"Livechat","sectionPermissionId":"change-setting-Livechat","settingId":"Livechat_validate_offline_email","sorter":NumberInt(8)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_videocall_enabled","_updatedAt":new Date(1591734400923),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"settingId":"Livechat_videocall_enabled","sorter":NumberInt(45),"section":"Livechat","sectionPermissionId":"change-setting-Livechat"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_visitor_inactivity_timeout","_updatedAt":new Date(1591734401096),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"Sessions","sectionPermissionId":"change-setting-Sessions","settingId":"Livechat_visitor_inactivity_timeout","sorter":NumberInt(68)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_webhookUrl","_updatedAt":new Date(1591734400740),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"CRM_Integration","sectionPermissionId":"change-setting-CRM_Integration","settingId":"Livechat_webhookUrl","sorter":NumberInt(27)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_webhook_on_agent_message","_updatedAt":new Date(1591734400798),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"CRM_Integration","sectionPermissionId":"change-setting-CRM_Integration","settingId":"Livechat_webhook_on_agent_message","sorter":NumberInt(32)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_webhook_on_capture","_updatedAt":new Date(1591734400832),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"CRM_Integration","sectionPermissionId":"change-setting-CRM_Integration","settingId":"Livechat_webhook_on_capture","sorter":NumberInt(34)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_webhook_on_close","_updatedAt":new Date(1591734400762),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"CRM_Integration","sectionPermissionId":"change-setting-CRM_Integration","settingId":"Livechat_webhook_on_close","sorter":NumberInt(29)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_webhook_on_offline_msg","_updatedAt":new Date(1591734400777),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"CRM_Integration","sectionPermissionId":"change-setting-CRM_Integration","settingId":"Livechat_webhook_on_offline_msg","sorter":NumberInt(30)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_webhook_on_visitor_message","_updatedAt":new Date(1591734400789),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"CRM_Integration","sectionPermissionId":"change-setting-CRM_Integration","settingId":"Livechat_webhook_on_visitor_message","sorter":NumberInt(31)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livestream_enabled","_updatedAt":new Date(1591734399274),"group":"LiveStream & Broadcasting","groupPermissionId":"change-setting-LiveStream & Broadcasting","level":"settings","roles":[],"settingId":"Livestream_enabled","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Log_Exceptions_to_Channel","_updatedAt":new Date(1591734395990),"group":"Logs","groupPermissionId":"change-setting-Logs","level":"settings","roles":[],"settingId":"Log_Exceptions_to_Channel","sorter":NumberInt(13)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Log_File","_updatedAt":new Date(1591734395757),"group":"Logs","groupPermissionId":"change-setting-Logs","level":"settings","roles":[],"settingId":"Log_File","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Log_Level","_updatedAt":new Date(1591734395752),"group":"Logs","groupPermissionId":"change-setting-Logs","level":"settings","roles":[],"settingId":"Log_Level","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Log_Package","_updatedAt":new Date(1591734395754),"group":"Logs","groupPermissionId":"change-setting-Logs","level":"settings","roles":[],"settingId":"Log_Package","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Log_Trace_Methods","_updatedAt":new Date(1591734395761),"group":"Logs","groupPermissionId":"change-setting-Logs","level":"settings","roles":[],"settingId":"Log_Trace_Methods","sorter":NumberInt(4)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Log_Trace_Methods_Filter","_updatedAt":new Date(1591734395763),"group":"Logs","groupPermissionId":"change-setting-Logs","level":"settings","roles":[],"settingId":"Log_Trace_Methods_Filter","sorter":NumberInt(5)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Log_Trace_Subscriptions","_updatedAt":new Date(1591734395765),"group":"Logs","groupPermissionId":"change-setting-Logs","level":"settings","roles":[],"settingId":"Log_Trace_Subscriptions","sorter":NumberInt(6)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Log_Trace_Subscriptions_Filter","_updatedAt":new Date(1591734395767),"group":"Logs","groupPermissionId":"change-setting-Logs","level":"settings","roles":[],"settingId":"Log_Trace_Subscriptions_Filter","sorter":NumberInt(7)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Log_View_Limit","_updatedAt":new Date(1591734395759),"group":"Logs","groupPermissionId":"change-setting-Logs","level":"settings","roles":[],"settingId":"Log_View_Limit","sorter":NumberInt(3)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Logs","_updatedAt":new Date(1591734395745),"level":"settings","roles":[],"settingId":"Logs"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-MapView_Enabled","_updatedAt":new Date(1591734399321),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"Google Maps","sectionPermissionId":"change-setting-Google Maps","settingId":"MapView_Enabled","sorter":NumberInt(65)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-MapView_GMapsAPIKey","_updatedAt":new Date(1591734399328),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"Google Maps","sectionPermissionId":"change-setting-Google Maps","settingId":"MapView_GMapsAPIKey","sorter":NumberInt(66)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Markdown_Headers","_updatedAt":new Date(1591734397431),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"Markdown","sectionPermissionId":"change-setting-Markdown","settingId":"Markdown_Headers","sorter":NumberInt(41)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Markdown_Marked_Breaks","_updatedAt":new Date(1591734397491),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"Markdown","sectionPermissionId":"change-setting-Markdown","settingId":"Markdown_Marked_Breaks","sorter":NumberInt(45)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Markdown_Marked_GFM","_updatedAt":new Date(1591734397460),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"Markdown","sectionPermissionId":"change-setting-Markdown","settingId":"Markdown_Marked_GFM","sorter":NumberInt(43)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Markdown_Marked_Pedantic","_updatedAt":new Date(1591734397506),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"Markdown","sectionPermissionId":"change-setting-Markdown","settingId":"Markdown_Marked_Pedantic","sorter":NumberInt(46)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Markdown_Marked_SmartLists","_updatedAt":new Date(1591734397536),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"Markdown","sectionPermissionId":"change-setting-Markdown","settingId":"Markdown_Marked_SmartLists","sorter":NumberInt(47)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Markdown_Marked_Smartypants","_updatedAt":new Date(1591734397553),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"Markdown","sectionPermissionId":"change-setting-Markdown","settingId":"Markdown_Marked_Smartypants","sorter":NumberInt(48)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Markdown_Marked_Tables","_updatedAt":new Date(1591734397479),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"Markdown","sectionPermissionId":"change-setting-Markdown","settingId":"Markdown_Marked_Tables","sorter":NumberInt(44)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Markdown_Parser","_updatedAt":new Date(1591734397414),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"Markdown","sectionPermissionId":"change-setting-Markdown","settingId":"Markdown_Parser","sorter":NumberInt(40)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Markdown_SupportSchemesForLink","_updatedAt":new Date(1591734397449),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"Markdown","sectionPermissionId":"change-setting-Markdown","settingId":"Markdown_SupportSchemesForLink","sorter":NumberInt(42)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Message","_updatedAt":new Date(1591734395588),"level":"settings","roles":[],"settingId":"Message"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Message_AllowBadWordsFilter","_updatedAt":new Date(1591734395610),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"Message_AllowBadWordsFilter","sorter":NumberInt(12)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Message_AllowConvertLongMessagesToAttachment","_updatedAt":new Date(1591734395622),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"Message_AllowConvertLongMessagesToAttachment","sorter":NumberInt(17)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Message_AllowDeleting","_updatedAt":new Date(1591734395598),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"Message_AllowDeleting","sorter":NumberInt(5)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Message_AllowDeleting_BlockDeleteInMinutes","_updatedAt":new Date(1591734395600),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"Message_AllowDeleting_BlockDeleteInMinutes","sorter":NumberInt(6)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Message_AllowDirectMessagesToYourself","_updatedAt":new Date(1591734395603),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"Message_AllowDirectMessagesToYourself","sorter":NumberInt(8)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Message_AllowEditing","_updatedAt":new Date(1591734395595),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"Message_AllowEditing","sorter":NumberInt(3)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Message_AllowEditing_BlockEditInMinutes","_updatedAt":new Date(1591734395597),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"Message_AllowEditing_BlockEditInMinutes","sorter":NumberInt(4)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Message_AllowPinning","_updatedAt":new Date(1591734399337),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"Message_AllowPinning","sorter":NumberInt(67)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Message_AllowSnippeting","_updatedAt":new Date(1591734399345),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"Message_AllowSnippeting","sorter":NumberInt(68)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Message_AllowStarring","_updatedAt":new Date(1591734399352),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"Message_AllowStarring","sorter":NumberInt(69)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Message_AllowUnrecognizedSlashCommand","_updatedAt":new Date(1591734395602),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"Message_AllowUnrecognizedSlashCommand","sorter":NumberInt(7)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Message_AlwaysSearchRegExp","_updatedAt":new Date(1591734395605),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"Message_AlwaysSearchRegExp","sorter":NumberInt(9)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Message_Attachments_GroupAttach","_updatedAt":new Date(1591734395590),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"Message_Attachments","sectionPermissionId":"change-setting-Message_Attachments","settingId":"Message_Attachments_GroupAttach","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Message_AudioRecorderEnabled","_updatedAt":new Date(1591734395592),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"Message_Audio","sectionPermissionId":"change-setting-Message_Audio","settingId":"Message_AudioRecorderEnabled","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Message_Audio_bitRate","_updatedAt":new Date(1591734395593),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"Message_Audio","sectionPermissionId":"change-setting-Message_Audio","settingId":"Message_Audio_bitRate","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Message_BadWordsFilterList","_updatedAt":new Date(1591734395612),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"Message_BadWordsFilterList","sorter":NumberInt(13)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Message_DateFormat","_updatedAt":new Date(1591734395651),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"Message_DateFormat","sorter":NumberInt(28)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Message_ErasureType","_updatedAt":new Date(1591734395659),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"Message_ErasureType","sorter":NumberInt(33)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Message_GroupingPeriod","_updatedAt":new Date(1591734395627),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"Message_GroupingPeriod","sorter":NumberInt(19)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Message_KeepHistory","_updatedAt":new Date(1591734395614),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"Message_KeepHistory","sorter":NumberInt(14)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Message_MaxAll","_updatedAt":new Date(1591734395617),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"Message_MaxAll","sorter":NumberInt(15)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Message_MaxAllowedSize","_updatedAt":new Date(1591734395619),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"Message_MaxAllowedSize","sorter":NumberInt(16)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Message_QuoteChainLimit","_updatedAt":new Date(1591734395655),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"Message_QuoteChainLimit","sorter":NumberInt(30)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Message_Read_Receipt_Enabled","_updatedAt":new Date(1591734396270),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"Message_Read_Receipt_Enabled","sorter":NumberInt(38)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Message_Read_Receipt_Store_Users","_updatedAt":new Date(1591734396272),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"Message_Read_Receipt_Store_Users","sorter":NumberInt(39)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Message_ShowDeletedStatus","_updatedAt":new Date(1591734395609),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"Message_ShowDeletedStatus","sorter":NumberInt(11)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Message_ShowEditedStatus","_updatedAt":new Date(1591734395607),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"Message_ShowEditedStatus","sorter":NumberInt(10)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Message_ShowFormattingTips","_updatedAt":new Date(1591734395625),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"Message_ShowFormattingTips","sorter":NumberInt(18)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Message_TimeAndDateFormat","_updatedAt":new Date(1591734395653),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"Message_TimeAndDateFormat","sorter":NumberInt(29)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Message_TimeFormat","_updatedAt":new Date(1591734395644),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"Message_TimeFormat","sorter":NumberInt(27)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Message_VideoRecorderEnabled","_updatedAt":new Date(1591734396227),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"Message_VideoRecorderEnabled","sorter":NumberInt(37)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Meta","_updatedAt":new Date(1591734395661),"level":"settings","roles":[],"settingId":"Meta"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Meta_custom","_updatedAt":new Date(1591734395675),"group":"Meta","groupPermissionId":"change-setting-Meta","level":"settings","roles":[],"settingId":"Meta_custom","sorter":NumberInt(5)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Meta_fb_app_id","_updatedAt":new Date(1591734395667),"group":"Meta","groupPermissionId":"change-setting-Meta","level":"settings","roles":[],"settingId":"Meta_fb_app_id","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Meta_google-site-verification","_updatedAt":new Date(1591734395670),"group":"Meta","groupPermissionId":"change-setting-Meta","level":"settings","roles":[],"settingId":"Meta_google-site-verification","sorter":NumberInt(3)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Meta_language","_updatedAt":new Date(1591734395664),"group":"Meta","groupPermissionId":"change-setting-Meta","level":"settings","roles":[],"settingId":"Meta_language","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Meta_msvalidate01","_updatedAt":new Date(1591734395673),"group":"Meta","groupPermissionId":"change-setting-Meta","level":"settings","roles":[],"settingId":"Meta_msvalidate01","sorter":NumberInt(4)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Meta_robots","_updatedAt":new Date(1591734395668),"group":"Meta","groupPermissionId":"change-setting-Meta","level":"settings","roles":[],"settingId":"Meta_robots","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Notifications_Max_Room_Members","_updatedAt":new Date(1591734395572),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"section":"Notifications","sectionPermissionId":"change-setting-Notifications","settingId":"Notifications_Max_Room_Members","sorter":NumberInt(36)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-OAuth","_updatedAt":new Date(1591734395116),"level":"settings","roles":[],"settingId":"OAuth"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-OTR","_updatedAt":new Date(1591734396138),"level":"settings","roles":[],"settingId":"OTR"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-OTR_Enable","_updatedAt":new Date(1591734396140),"group":"OTR","groupPermissionId":"change-setting-OTR","level":"settings","roles":[],"settingId":"OTR_Enable","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Offline_DM_Email","_updatedAt":new Date(1591734395098),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Subject","sectionPermissionId":"change-setting-Subject","settingId":"Offline_DM_Email","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Offline_Mention_All_Email","_updatedAt":new Date(1591734395103),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Subject","sectionPermissionId":"change-setting-Subject","settingId":"Offline_Mention_All_Email","sorter":NumberInt(4)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Offline_Mention_Email","_updatedAt":new Date(1591734395100),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Subject","sectionPermissionId":"change-setting-Subject","settingId":"Offline_Mention_Email","sorter":NumberInt(3)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Offline_Message_Use_DeepLink","_updatedAt":new Date(1591734396881),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Offline_Message","sectionPermissionId":"change-setting-Offline_Message","settingId":"Offline_Message_Use_DeepLink","sorter":NumberInt(35)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Omnichannel","_updatedAt":new Date(1591734400301),"level":"settings","roles":[],"settingId":"Omnichannel"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Omnichannel_External_Frame_Enabled","_updatedAt":new Date(1591734396931),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"External Frame","sectionPermissionId":"change-setting-External Frame","settingId":"Omnichannel_External_Frame_Enabled","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Omnichannel_External_Frame_Encryption_JWK","_updatedAt":new Date(1591734396976),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"External Frame","sectionPermissionId":"change-setting-External Frame","settingId":"Omnichannel_External_Frame_Encryption_JWK","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Omnichannel_External_Frame_GenerateKey","_updatedAt":new Date(1591734396978),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"External Frame","sectionPermissionId":"change-setting-External Frame","settingId":"Omnichannel_External_Frame_GenerateKey","sorter":NumberInt(3)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Omnichannel_External_Frame_URL","_updatedAt":new Date(1591734396991),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"External Frame","sectionPermissionId":"change-setting-External Frame","settingId":"Omnichannel_External_Frame_URL","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Organization_Email","_updatedAt":new Date(1591734395796),"group":"Setup_Wizard","groupPermissionId":"change-setting-Setup_Wizard","level":"settings","roles":[],"section":"Organization_Info","sectionPermissionId":"change-setting-Organization_Info","settingId":"Organization_Email","sorter":NumberInt(9)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Organization_Name","_updatedAt":new Date(1591734395777),"group":"Setup_Wizard","groupPermissionId":"change-setting-Setup_Wizard","level":"settings","roles":[],"section":"Organization_Info","sectionPermissionId":"change-setting-Organization_Info","settingId":"Organization_Name","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Organization_Type","_updatedAt":new Date(1591734395775),"group":"Setup_Wizard","groupPermissionId":"change-setting-Setup_Wizard","level":"settings","roles":[],"section":"Organization_Info","sectionPermissionId":"change-setting-Organization_Info","settingId":"Organization_Type","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Password_Changed_Email","_updatedAt":new Date(1591734395237),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Password_changed_section","sectionPermissionId":"change-setting-Password_changed_section","settingId":"Password_Changed_Email","sorter":NumberInt(43)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Password_Changed_Email_Subject","_updatedAt":new Date(1591734395235),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Password_changed_section","sectionPermissionId":"change-setting-Password_changed_section","settingId":"Password_Changed_Email_Subject","sorter":NumberInt(42)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-PiwikAdditionalTrackers","_updatedAt":new Date(1591734394981),"group":"Analytics","groupPermissionId":"change-setting-Analytics","level":"settings","roles":[],"section":"Piwik","sectionPermissionId":"change-setting-Piwik","settingId":"PiwikAdditionalTrackers","sorter":NumberInt(3)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-PiwikAnalytics_cookieDomain","_updatedAt":new Date(1591734394986),"group":"Analytics","groupPermissionId":"change-setting-Analytics","level":"settings","roles":[],"section":"Piwik","sectionPermissionId":"change-setting-Piwik","settingId":"PiwikAnalytics_cookieDomain","sorter":NumberInt(5)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-PiwikAnalytics_domains","_updatedAt":new Date(1591734394989),"group":"Analytics","groupPermissionId":"change-setting-Analytics","level":"settings","roles":[],"section":"Piwik","sectionPermissionId":"change-setting-Piwik","settingId":"PiwikAnalytics_domains","sorter":NumberInt(6)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-PiwikAnalytics_enabled","_updatedAt":new Date(1591734394972),"group":"Analytics","groupPermissionId":"change-setting-Analytics","level":"settings","roles":[],"section":"Piwik","sectionPermissionId":"change-setting-Piwik","settingId":"PiwikAnalytics_enabled","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-PiwikAnalytics_prependDomain","_updatedAt":new Date(1591734394984),"group":"Analytics","groupPermissionId":"change-setting-Analytics","level":"settings","roles":[],"section":"Piwik","sectionPermissionId":"change-setting-Piwik","settingId":"PiwikAnalytics_prependDomain","sorter":NumberInt(4)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-PiwikAnalytics_siteId","_updatedAt":new Date(1591734394978),"group":"Analytics","groupPermissionId":"change-setting-Analytics","level":"settings","roles":[],"section":"Piwik","sectionPermissionId":"change-setting-Piwik","settingId":"PiwikAnalytics_siteId","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-PiwikAnalytics_url","_updatedAt":new Date(1591734394975),"group":"Analytics","groupPermissionId":"change-setting-Analytics","level":"settings","roles":[],"section":"Piwik","sectionPermissionId":"change-setting-Piwik","settingId":"PiwikAnalytics_url","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Prometheus_API_User_Agent","_updatedAt":new Date(1591734396897),"group":"Logs","groupPermissionId":"change-setting-Logs","level":"settings","roles":[],"section":"Prometheus","sectionPermissionId":"change-setting-Prometheus","settingId":"Prometheus_API_User_Agent","sorter":NumberInt(12)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Prometheus_Enabled","_updatedAt":new Date(1591734395769),"group":"Logs","groupPermissionId":"change-setting-Logs","level":"settings","roles":[],"section":"Prometheus","sectionPermissionId":"change-setting-Prometheus","settingId":"Prometheus_Enabled","sorter":NumberInt(8)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Prometheus_Garbage_Collector","_updatedAt":new Date(1591734396894),"group":"Logs","groupPermissionId":"change-setting-Logs","level":"settings","roles":[],"section":"Prometheus","sectionPermissionId":"change-setting-Prometheus","settingId":"Prometheus_Garbage_Collector","sorter":NumberInt(11)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Prometheus_Port","_updatedAt":new Date(1591734395771),"group":"Logs","groupPermissionId":"change-setting-Logs","level":"settings","roles":[],"section":"Prometheus","sectionPermissionId":"change-setting-Prometheus","settingId":"Prometheus_Port","sorter":NumberInt(9)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Prometheus_Reset_Interval","_updatedAt":new Date(1591734396892),"group":"Logs","groupPermissionId":"change-setting-Logs","level":"settings","roles":[],"section":"Prometheus","sectionPermissionId":"change-setting-Prometheus","settingId":"Prometheus_Reset_Interval","sorter":NumberInt(10)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Push","_updatedAt":new Date(1591734395677),"level":"settings","roles":[],"settingId":"Push"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Push_apn_cert","_updatedAt":new Date(1591734395692),"group":"Push","groupPermissionId":"change-setting-Push","level":"settings","roles":[],"section":"Certificates_and_Keys","sectionPermissionId":"change-setting-Certificates_and_Keys","settingId":"Push_apn_cert","sorter":NumberInt(7)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Push_apn_dev_cert","_updatedAt":new Date(1591734395697),"group":"Push","groupPermissionId":"change-setting-Push","level":"settings","roles":[],"section":"Certificates_and_Keys","sectionPermissionId":"change-setting-Certificates_and_Keys","settingId":"Push_apn_dev_cert","sorter":NumberInt(10)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Push_apn_dev_key","_updatedAt":new Date(1591734395695),"group":"Push","groupPermissionId":"change-setting-Push","level":"settings","roles":[],"section":"Certificates_and_Keys","sectionPermissionId":"change-setting-Certificates_and_Keys","settingId":"Push_apn_dev_key","sorter":NumberInt(9)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Push_apn_dev_passphrase","_updatedAt":new Date(1591734395693),"group":"Push","groupPermissionId":"change-setting-Push","level":"settings","roles":[],"section":"Certificates_and_Keys","sectionPermissionId":"change-setting-Certificates_and_Keys","settingId":"Push_apn_dev_passphrase","sorter":NumberInt(8)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Push_apn_key","_updatedAt":new Date(1591734395690),"group":"Push","groupPermissionId":"change-setting-Push","level":"settings","roles":[],"section":"Certificates_and_Keys","sectionPermissionId":"change-setting-Certificates_and_Keys","settingId":"Push_apn_key","sorter":NumberInt(6)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Push_apn_passphrase","_updatedAt":new Date(1591734395688),"group":"Push","groupPermissionId":"change-setting-Push","level":"settings","roles":[],"section":"Certificates_and_Keys","sectionPermissionId":"change-setting-Certificates_and_Keys","settingId":"Push_apn_passphrase","sorter":NumberInt(5)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Push_enable","_updatedAt":new Date(1591734395679),"group":"Push","groupPermissionId":"change-setting-Push","level":"settings","roles":[],"settingId":"Push_enable","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Push_enable_gateway","_updatedAt":new Date(1591734395681),"group":"Push","groupPermissionId":"change-setting-Push","level":"settings","roles":[],"settingId":"Push_enable_gateway","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Push_gateway","_updatedAt":new Date(1591734395683),"group":"Push","groupPermissionId":"change-setting-Push","level":"settings","roles":[],"settingId":"Push_gateway","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Push_gcm_api_key","_updatedAt":new Date(1591734395698),"group":"Push","groupPermissionId":"change-setting-Push","level":"settings","roles":[],"section":"Certificates_and_Keys","sectionPermissionId":"change-setting-Certificates_and_Keys","settingId":"Push_gcm_api_key","sorter":NumberInt(11)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Push_gcm_project_number","_updatedAt":new Date(1591734395700),"group":"Push","groupPermissionId":"change-setting-Push","level":"settings","roles":[],"section":"Certificates_and_Keys","sectionPermissionId":"change-setting-Certificates_and_Keys","settingId":"Push_gcm_project_number","sorter":NumberInt(12)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Push_production","_updatedAt":new Date(1591734395685),"group":"Push","groupPermissionId":"change-setting-Push","level":"settings","roles":[],"settingId":"Push_production","sorter":NumberInt(3)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Push_show_message","_updatedAt":new Date(1591734395704),"group":"Push","groupPermissionId":"change-setting-Push","level":"settings","roles":[],"section":"Privacy","sectionPermissionId":"change-setting-Privacy","settingId":"Push_show_message","sorter":NumberInt(14)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Push_show_username_room","_updatedAt":new Date(1591734395702),"group":"Push","groupPermissionId":"change-setting-Push","level":"settings","roles":[],"section":"Privacy","sectionPermissionId":"change-setting-Privacy","settingId":"Push_show_username_room","sorter":NumberInt(13)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Push_test_push","_updatedAt":new Date(1591734395686),"group":"Push","groupPermissionId":"change-setting-Push","level":"settings","roles":[],"settingId":"Push_test_push","sorter":NumberInt(4)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Rate Limiter","_updatedAt":new Date(1591734395800),"level":"settings","roles":[],"settingId":"Rate Limiter"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Register_Server","_updatedAt":new Date(1591734395793),"group":"Setup_Wizard","groupPermissionId":"change-setting-Setup_Wizard","level":"settings","roles":[],"section":"Organization_Info","sectionPermissionId":"change-setting-Organization_Info","settingId":"Register_Server","sorter":NumberInt(8)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Restart","_updatedAt":new Date(1591734395561),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"settingId":"Restart","sorter":NumberInt(30)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-RetentionPolicy","_updatedAt":new Date(1591734396141),"level":"settings","roles":[],"settingId":"RetentionPolicy"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-RetentionPolicy_AppliesToChannels","_updatedAt":new Date(1591734396790),"group":"RetentionPolicy","groupPermissionId":"change-setting-RetentionPolicy","level":"settings","roles":[],"section":"Global Policy","sectionPermissionId":"change-setting-Global Policy","settingId":"RetentionPolicy_AppliesToChannels","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-RetentionPolicy_AppliesToDMs","_updatedAt":new Date(1591734396151),"group":"RetentionPolicy","groupPermissionId":"change-setting-RetentionPolicy","level":"settings","roles":[],"section":"Global Policy","sectionPermissionId":"change-setting-Global Policy","settingId":"RetentionPolicy_AppliesToDMs","sorter":NumberInt(6)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-RetentionPolicy_AppliesToGroups","_updatedAt":new Date(1591734396147),"group":"RetentionPolicy","groupPermissionId":"change-setting-RetentionPolicy","level":"settings","roles":[],"section":"Global Policy","sectionPermissionId":"change-setting-Global Policy","settingId":"RetentionPolicy_AppliesToGroups","sorter":NumberInt(4)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-RetentionPolicy_DoNotExcludeDiscussion","_updatedAt":new Date(1591734400291),"group":"RetentionPolicy","groupPermissionId":"change-setting-RetentionPolicy","level":"settings","roles":[],"section":"Global Policy","sectionPermissionId":"change-setting-Global Policy","settingId":"RetentionPolicy_DoNotExcludeDiscussion","sorter":NumberInt(10)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-RetentionPolicy_Enabled","_updatedAt":new Date(1591734396143),"group":"RetentionPolicy","groupPermissionId":"change-setting-RetentionPolicy","level":"settings","roles":[],"settingId":"RetentionPolicy_Enabled","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-RetentionPolicy_ExcludePinned","_updatedAt":new Date(1591734396161),"group":"RetentionPolicy","groupPermissionId":"change-setting-RetentionPolicy","level":"settings","roles":[],"section":"Global Policy","sectionPermissionId":"change-setting-Global Policy","settingId":"RetentionPolicy_ExcludePinned","sorter":NumberInt(8)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-RetentionPolicy_FilesOnly","_updatedAt":new Date(1591734396166),"group":"RetentionPolicy","groupPermissionId":"change-setting-RetentionPolicy","level":"settings","roles":[],"section":"Global Policy","sectionPermissionId":"change-setting-Global Policy","settingId":"RetentionPolicy_FilesOnly","sorter":NumberInt(9)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-RetentionPolicy_MaxAge_Channels","_updatedAt":new Date(1591734396146),"group":"RetentionPolicy","groupPermissionId":"change-setting-RetentionPolicy","level":"settings","roles":[],"section":"Global Policy","sectionPermissionId":"change-setting-Global Policy","settingId":"RetentionPolicy_MaxAge_Channels","sorter":NumberInt(3)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-RetentionPolicy_MaxAge_DMs","_updatedAt":new Date(1591734396152),"group":"RetentionPolicy","groupPermissionId":"change-setting-RetentionPolicy","level":"settings","roles":[],"section":"Global Policy","sectionPermissionId":"change-setting-Global Policy","settingId":"RetentionPolicy_MaxAge_DMs","sorter":NumberInt(7)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-RetentionPolicy_MaxAge_Groups","_updatedAt":new Date(1591734396149),"group":"RetentionPolicy","groupPermissionId":"change-setting-RetentionPolicy","level":"settings","roles":[],"section":"Global Policy","sectionPermissionId":"change-setting-Global Policy","settingId":"RetentionPolicy_MaxAge_Groups","sorter":NumberInt(5)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-RetentionPolicy_Precision","_updatedAt":new Date(1591734396144),"group":"RetentionPolicy","groupPermissionId":"change-setting-RetentionPolicy","level":"settings","roles":[],"settingId":"RetentionPolicy_Precision","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Robot_Instructions_File_Content","_updatedAt":new Date(1591734395565),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"settingId":"Robot_Instructions_File_Content","sorter":NumberInt(32)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SAML","_updatedAt":new Date(1591734396266),"level":"settings","roles":[],"settingId":"SAML"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SAML_Custom_Default","_updatedAt":new Date(1591734399606),"group":"SAML","groupPermissionId":"change-setting-SAML","level":"settings","roles":[],"section":"Default","sectionPermissionId":"change-setting-Default","settingId":"SAML_Custom_Default","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SAML_Custom_Default_allowed_clock_drift","_updatedAt":new Date(1591734399904),"group":"SAML","groupPermissionId":"change-setting-SAML","level":"settings","roles":[],"section":"Default","sectionPermissionId":"change-setting-Default","settingId":"SAML_Custom_Default_allowed_clock_drift","sorter":NumberInt(25)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SAML_Custom_Default_authn_context_comparison","_updatedAt":new Date(1591734399846),"group":"SAML","groupPermissionId":"change-setting-SAML","level":"settings","roles":[],"section":"Default","sectionPermissionId":"change-setting-Default","settingId":"SAML_Custom_Default_authn_context_comparison","sorter":NumberInt(21)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SAML_Custom_Default_button_color","_updatedAt":new Date(1591734399711),"group":"SAML","groupPermissionId":"change-setting-SAML","level":"settings","roles":[],"section":"Default","sectionPermissionId":"change-setting-Default","settingId":"SAML_Custom_Default_button_color","sorter":NumberInt(11)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SAML_Custom_Default_button_label_color","_updatedAt":new Date(1591734399705),"group":"SAML","groupPermissionId":"change-setting-SAML","level":"settings","roles":[],"section":"Default","sectionPermissionId":"change-setting-Default","settingId":"SAML_Custom_Default_button_label_color","sorter":NumberInt(10)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SAML_Custom_Default_button_label_text","_updatedAt":new Date(1591734399696),"group":"SAML","groupPermissionId":"change-setting-SAML","level":"settings","roles":[],"section":"Default","sectionPermissionId":"change-setting-Default","settingId":"SAML_Custom_Default_button_label_text","sorter":NumberInt(9)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SAML_Custom_Default_cert","_updatedAt":new Date(1591734399666),"group":"SAML","groupPermissionId":"change-setting-SAML","level":"settings","roles":[],"section":"Default","sectionPermissionId":"change-setting-Default","settingId":"SAML_Custom_Default_cert","sorter":NumberInt(5)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SAML_Custom_Default_custom_authn_context","_updatedAt":new Date(1591734399815),"group":"SAML","groupPermissionId":"change-setting-SAML","level":"settings","roles":[],"section":"Default","sectionPermissionId":"change-setting-Default","settingId":"SAML_Custom_Default_custom_authn_context","sorter":NumberInt(19)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SAML_Custom_Default_debug","_updatedAt":new Date(1591734399743),"group":"SAML","groupPermissionId":"change-setting-SAML","level":"settings","roles":[],"section":"Default","sectionPermissionId":"change-setting-Default","settingId":"SAML_Custom_Default_debug","sorter":NumberInt(15)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SAML_Custom_Default_default_user_role","_updatedAt":new Date(1591734399864),"group":"SAML","groupPermissionId":"change-setting-SAML","level":"settings","roles":[],"section":"Default","sectionPermissionId":"change-setting-Default","settingId":"SAML_Custom_Default_default_user_role","sorter":NumberInt(22)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SAML_Custom_Default_entry_point","_updatedAt":new Date(1591734399641),"group":"SAML","groupPermissionId":"change-setting-SAML","level":"settings","roles":[],"section":"Default","sectionPermissionId":"change-setting-Default","settingId":"SAML_Custom_Default_entry_point","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SAML_Custom_Default_generate_username","_updatedAt":new Date(1591734399719),"group":"SAML","groupPermissionId":"change-setting-SAML","level":"settings","roles":[],"section":"Default","sectionPermissionId":"change-setting-Default","settingId":"SAML_Custom_Default_generate_username","sorter":NumberInt(12)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SAML_Custom_Default_idp_slo_redirect_url","_updatedAt":new Date(1591734399649),"group":"SAML","groupPermissionId":"change-setting-SAML","level":"settings","roles":[],"section":"Default","sectionPermissionId":"change-setting-Default","settingId":"SAML_Custom_Default_idp_slo_redirect_url","sorter":NumberInt(3)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SAML_Custom_Default_immutable_property","_updatedAt":new Date(1591734399735),"group":"SAML","groupPermissionId":"change-setting-SAML","level":"settings","roles":[],"section":"Default","sectionPermissionId":"change-setting-Default","settingId":"SAML_Custom_Default_immutable_property","sorter":NumberInt(14)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SAML_Custom_Default_issuer","_updatedAt":new Date(1591734399658),"group":"SAML","groupPermissionId":"change-setting-SAML","level":"settings","roles":[],"section":"Default","sectionPermissionId":"change-setting-Default","settingId":"SAML_Custom_Default_issuer","sorter":NumberInt(4)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SAML_Custom_Default_logout_behaviour","_updatedAt":new Date(1591734399803),"group":"SAML","groupPermissionId":"change-setting-SAML","level":"settings","roles":[],"section":"Default","sectionPermissionId":"change-setting-Default","settingId":"SAML_Custom_Default_logout_behaviour","sorter":NumberInt(18)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SAML_Custom_Default_mail_overwrite","_updatedAt":new Date(1591734399788),"group":"SAML","groupPermissionId":"change-setting-SAML","level":"settings","roles":[],"section":"Default","sectionPermissionId":"change-setting-Default","settingId":"SAML_Custom_Default_mail_overwrite","sorter":NumberInt(17)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SAML_Custom_Default_name_overwrite","_updatedAt":new Date(1591734399768),"group":"SAML","groupPermissionId":"change-setting-SAML","level":"settings","roles":[],"section":"Default","sectionPermissionId":"change-setting-Default","settingId":"SAML_Custom_Default_name_overwrite","sorter":NumberInt(16)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SAML_Custom_Default_private_key","_updatedAt":new Date(1591734399690),"group":"SAML","groupPermissionId":"change-setting-SAML","level":"settings","roles":[],"section":"Default","sectionPermissionId":"change-setting-Default","settingId":"SAML_Custom_Default_private_key","sorter":NumberInt(8)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SAML_Custom_Default_provider","_updatedAt":new Date(1591734399628),"group":"SAML","groupPermissionId":"change-setting-SAML","level":"settings","roles":[],"section":"Default","sectionPermissionId":"change-setting-Default","settingId":"SAML_Custom_Default_provider","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SAML_Custom_Default_public_cert","_updatedAt":new Date(1591734399674),"group":"SAML","groupPermissionId":"change-setting-SAML","level":"settings","roles":[],"section":"Default","sectionPermissionId":"change-setting-Default","settingId":"SAML_Custom_Default_public_cert","sorter":NumberInt(6)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SAML_Custom_Default_role_attribute_name","_updatedAt":new Date(1591734399876),"group":"SAML","groupPermissionId":"change-setting-SAML","level":"settings","roles":[],"section":"Default","sectionPermissionId":"change-setting-Default","settingId":"SAML_Custom_Default_role_attribute_name","sorter":NumberInt(23)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SAML_Custom_Default_role_attribute_sync","_updatedAt":new Date(1591734399891),"group":"SAML","groupPermissionId":"change-setting-SAML","level":"settings","roles":[],"section":"Default","sectionPermissionId":"change-setting-Default","settingId":"SAML_Custom_Default_role_attribute_sync","sorter":NumberInt(24)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SAML_Custom_Default_signature_validation_type","_updatedAt":new Date(1591734399681),"level":"settings","roles":[],"settingId":"SAML_Custom_Default_signature_validation_type","group":"SAML","groupPermissionId":"change-setting-SAML","section":"Default","sectionPermissionId":"change-setting-Default","sorter":NumberInt(7)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SAML_Custom_Default_user_data_fieldmap","_updatedAt":new Date(1591734399830),"group":"SAML","groupPermissionId":"change-setting-SAML","level":"settings","roles":[],"section":"Default","sectionPermissionId":"change-setting-Default","settingId":"SAML_Custom_Default_user_data_fieldmap","sorter":NumberInt(20)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SAML_Custom_Default_username_normalize","_updatedAt":new Date(1591734399727),"group":"SAML","groupPermissionId":"change-setting-SAML","level":"settings","roles":[],"section":"Default","sectionPermissionId":"change-setting-Default","settingId":"SAML_Custom_Default_username_normalize","sorter":NumberInt(13)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SMS","_updatedAt":new Date(1591734397027),"level":"settings","roles":[],"settingId":"SMS"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SMS_Default_Omnichannel_Department","_updatedAt":new Date(1591734397072),"group":"SMS","groupPermissionId":"change-setting-SMS","level":"settings","roles":[],"settingId":"SMS_Default_Omnichannel_Department","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SMS_Enabled","_updatedAt":new Date(1591734397040),"group":"SMS","groupPermissionId":"change-setting-SMS","level":"settings","roles":[],"settingId":"SMS_Enabled","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SMS_Mobex_from_number","_updatedAt":new Date(1591734397322),"group":"SMS","groupPermissionId":"change-setting-SMS","level":"settings","roles":[],"section":"Mobex","sectionPermissionId":"change-setting-Mobex","settingId":"SMS_Mobex_from_number","sorter":NumberInt(15)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SMS_Mobex_from_numbers_list","_updatedAt":new Date(1591734397399),"group":"SMS","groupPermissionId":"change-setting-SMS","level":"settings","roles":[],"section":"Mobex","sectionPermissionId":"change-setting-Mobex","settingId":"SMS_Mobex_from_numbers_list","sorter":NumberInt(16)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SMS_Mobex_gateway_address","_updatedAt":new Date(1591734397222),"group":"SMS","groupPermissionId":"change-setting-SMS","level":"settings","roles":[],"section":"Mobex","sectionPermissionId":"change-setting-Mobex","settingId":"SMS_Mobex_gateway_address","sorter":NumberInt(11)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SMS_Mobex_password","_updatedAt":new Date(1591734397277),"group":"SMS","groupPermissionId":"change-setting-SMS","level":"settings","roles":[],"section":"Mobex","sectionPermissionId":"change-setting-Mobex","settingId":"SMS_Mobex_password","sorter":NumberInt(14)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SMS_Mobex_restful_address","_updatedAt":new Date(1591734397241),"group":"SMS","groupPermissionId":"change-setting-SMS","level":"settings","roles":[],"section":"Mobex","sectionPermissionId":"change-setting-Mobex","settingId":"SMS_Mobex_restful_address","sorter":NumberInt(12)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SMS_Mobex_username","_updatedAt":new Date(1591734397254),"group":"SMS","groupPermissionId":"change-setting-SMS","level":"settings","roles":[],"section":"Mobex","sectionPermissionId":"change-setting-Mobex","settingId":"SMS_Mobex_username","sorter":NumberInt(13)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SMS_Service","_updatedAt":new Date(1591734397054),"group":"SMS","groupPermissionId":"change-setting-SMS","level":"settings","roles":[],"settingId":"SMS_Service","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SMS_Twilio_Account_SID","_updatedAt":new Date(1591734397084),"group":"SMS","groupPermissionId":"change-setting-SMS","level":"settings","roles":[],"section":"Twilio","sectionPermissionId":"change-setting-Twilio","settingId":"SMS_Twilio_Account_SID","sorter":NumberInt(3)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SMS_Twilio_FileUpload_Enabled","_updatedAt":new Date(1591734397109),"group":"SMS","groupPermissionId":"change-setting-SMS","level":"settings","roles":[],"section":"Twilio","sectionPermissionId":"change-setting-Twilio","settingId":"SMS_Twilio_FileUpload_Enabled","sorter":NumberInt(5)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SMS_Twilio_FileUpload_MediaTypeWhiteList","_updatedAt":new Date(1591734397121),"group":"SMS","groupPermissionId":"change-setting-SMS","level":"settings","roles":[],"section":"Twilio","sectionPermissionId":"change-setting-Twilio","settingId":"SMS_Twilio_FileUpload_MediaTypeWhiteList","sorter":NumberInt(6)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SMS_Twilio_authToken","_updatedAt":new Date(1591734397098),"group":"SMS","groupPermissionId":"change-setting-SMS","level":"settings","roles":[],"section":"Twilio","sectionPermissionId":"change-setting-Twilio","settingId":"SMS_Twilio_authToken","sorter":NumberInt(4)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SMS_Voxtelesys_FileUpload_Enabled","_updatedAt":new Date(1591734397189),"group":"SMS","groupPermissionId":"change-setting-SMS","level":"settings","roles":[],"section":"Voxtelesys","sectionPermissionId":"change-setting-Voxtelesys","settingId":"SMS_Voxtelesys_FileUpload_Enabled","sorter":NumberInt(9)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SMS_Voxtelesys_FileUpload_MediaTypeWhiteList","_updatedAt":new Date(1591734397204),"group":"SMS","groupPermissionId":"change-setting-SMS","level":"settings","roles":[],"section":"Voxtelesys","sectionPermissionId":"change-setting-Voxtelesys","settingId":"SMS_Voxtelesys_FileUpload_MediaTypeWhiteList","sorter":NumberInt(10)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SMS_Voxtelesys_URL","_updatedAt":new Date(1591734397172),"group":"SMS","groupPermissionId":"change-setting-SMS","level":"settings","roles":[],"section":"Voxtelesys","sectionPermissionId":"change-setting-Voxtelesys","settingId":"SMS_Voxtelesys_URL","sorter":NumberInt(8)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SMS_Voxtelesys_authToken","_updatedAt":new Date(1591734397156),"group":"SMS","groupPermissionId":"change-setting-SMS","level":"settings","roles":[],"section":"Voxtelesys","sectionPermissionId":"change-setting-Voxtelesys","settingId":"SMS_Voxtelesys_authToken","sorter":NumberInt(7)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SMTP_Host","_updatedAt":new Date(1591734395172),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"SMTP","sectionPermissionId":"change-setting-SMTP","settingId":"SMTP_Host","sorter":NumberInt(21)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SMTP_IgnoreTLS","_updatedAt":new Date(1591734395177),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"SMTP","sectionPermissionId":"change-setting-SMTP","settingId":"SMTP_IgnoreTLS","sorter":NumberInt(23)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SMTP_Password","_updatedAt":new Date(1591734395187),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"SMTP","sectionPermissionId":"change-setting-SMTP","settingId":"SMTP_Password","sorter":NumberInt(26)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SMTP_Pool","_updatedAt":new Date(1591734395181),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"SMTP","sectionPermissionId":"change-setting-SMTP","settingId":"SMTP_Pool","sorter":NumberInt(24)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SMTP_Port","_updatedAt":new Date(1591734395175),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"SMTP","sectionPermissionId":"change-setting-SMTP","settingId":"SMTP_Port","sorter":NumberInt(22)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SMTP_Protocol","_updatedAt":new Date(1591734395169),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"SMTP","sectionPermissionId":"change-setting-SMTP","settingId":"SMTP_Protocol","sorter":NumberInt(20)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SMTP_Test_Button","_updatedAt":new Date(1591734395193),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"SMTP","sectionPermissionId":"change-setting-SMTP","settingId":"SMTP_Test_Button","sorter":NumberInt(28)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SMTP_Username","_updatedAt":new Date(1591734395184),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"SMTP","sectionPermissionId":"change-setting-SMTP","settingId":"SMTP_Username","sorter":NumberInt(25)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Search","_updatedAt":new Date(1591734399997),"level":"settings","roles":[],"settingId":"Search"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Search.Provider","_updatedAt":new Date(1591734400025),"group":"Search","groupPermissionId":"change-setting-Search","level":"settings","roles":[],"settingId":"Search.Provider","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Search.chatpalProvider.API_Key","_updatedAt":new Date(1591734400084),"group":"Search","groupPermissionId":"change-setting-Search","level":"settings","roles":[],"section":"Chatpal Provider","sectionPermissionId":"change-setting-Chatpal Provider","settingId":"Search.chatpalProvider.API_Key","sorter":NumberInt(4)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Search.chatpalProvider.Backend","_updatedAt":new Date(1591734400070),"group":"Search","groupPermissionId":"change-setting-Search","level":"settings","roles":[],"section":"Chatpal Provider","sectionPermissionId":"change-setting-Chatpal Provider","settingId":"Search.chatpalProvider.Backend","sorter":NumberInt(3)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Search.chatpalProvider.Base_URL","_updatedAt":new Date(1591734400100),"group":"Search","groupPermissionId":"change-setting-Search","level":"settings","roles":[],"section":"Chatpal Provider","sectionPermissionId":"change-setting-Chatpal Provider","settingId":"Search.chatpalProvider.Base_URL","sorter":NumberInt(5)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Search.chatpalProvider.BatchSize","_updatedAt":new Date(1591734400200),"group":"Search","groupPermissionId":"change-setting-Search","level":"settings","roles":[],"section":"Chatpal Provider","sectionPermissionId":"change-setting-Chatpal Provider","settingId":"Search.chatpalProvider.BatchSize","sorter":NumberInt(11)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Search.chatpalProvider.DefaultResultType","_updatedAt":new Date(1591734400151),"group":"Search","groupPermissionId":"change-setting-Search","level":"settings","roles":[],"section":"Chatpal Provider","sectionPermissionId":"change-setting-Chatpal Provider","settingId":"Search.chatpalProvider.DefaultResultType","sorter":NumberInt(8)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Search.chatpalProvider.HTTP_Headers","_updatedAt":new Date(1591734400116),"group":"Search","groupPermissionId":"change-setting-Search","level":"settings","roles":[],"section":"Chatpal Provider","sectionPermissionId":"change-setting-Chatpal Provider","settingId":"Search.chatpalProvider.HTTP_Headers","sorter":NumberInt(6)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Search.chatpalProvider.Main_Language","_updatedAt":new Date(1591734400133),"group":"Search","groupPermissionId":"change-setting-Search","level":"settings","roles":[],"section":"Chatpal Provider","sectionPermissionId":"change-setting-Chatpal Provider","settingId":"Search.chatpalProvider.Main_Language","sorter":NumberInt(7)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Search.chatpalProvider.PageSize","_updatedAt":new Date(1591734400168),"group":"Search","groupPermissionId":"change-setting-Search","level":"settings","roles":[],"section":"Chatpal Provider","sectionPermissionId":"change-setting-Chatpal Provider","settingId":"Search.chatpalProvider.PageSize","sorter":NumberInt(9)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Search.chatpalProvider.SuggestionEnabled","_updatedAt":new Date(1591734400187),"group":"Search","groupPermissionId":"change-setting-Search","level":"settings","roles":[],"section":"Chatpal Provider","sectionPermissionId":"change-setting-Chatpal Provider","settingId":"Search.chatpalProvider.SuggestionEnabled","sorter":NumberInt(10)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Search.chatpalProvider.TimeoutSize","_updatedAt":new Date(1591734400220),"group":"Search","groupPermissionId":"change-setting-Search","level":"settings","roles":[],"section":"Chatpal Provider","sectionPermissionId":"change-setting-Chatpal Provider","settingId":"Search.chatpalProvider.TimeoutSize","sorter":NumberInt(12)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Search.chatpalProvider.WindowSize","_updatedAt":new Date(1591734400235),"group":"Search","groupPermissionId":"change-setting-Search","level":"settings","roles":[],"section":"Chatpal Provider","sectionPermissionId":"change-setting-Chatpal Provider","settingId":"Search.chatpalProvider.WindowSize","sorter":NumberInt(13)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Search.defaultProvider.GlobalSearchEnabled","_updatedAt":new Date(1591734400042),"group":"Search","groupPermissionId":"change-setting-Search","level":"settings","roles":[],"section":"Default provider","sectionPermissionId":"change-setting-Default provider","settingId":"Search.defaultProvider.GlobalSearchEnabled","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Search.defaultProvider.PageSize","_updatedAt":new Date(1591734400056),"group":"Search","groupPermissionId":"change-setting-Search","level":"settings","roles":[],"section":"Default provider","sectionPermissionId":"change-setting-Default provider","settingId":"Search.defaultProvider.PageSize","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Send_visitor_navigation_history_livechat_webhook_request","_updatedAt":new Date(1591734400815),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"CRM_Integration","sectionPermissionId":"change-setting-CRM_Integration","settingId":"Send_visitor_navigation_history_livechat_webhook_request","sorter":NumberInt(33)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Server_Type","_updatedAt":new Date(1591734395789),"group":"Setup_Wizard","groupPermissionId":"change-setting-Setup_Wizard","level":"settings","roles":[],"section":"Organization_Info","sectionPermissionId":"change-setting-Organization_Info","settingId":"Server_Type","sorter":NumberInt(6)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Setup_Wizard","_updatedAt":new Date(1591734395773),"level":"settings","roles":[],"settingId":"Setup_Wizard"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Show_Setup_Wizard","_updatedAt":new Date(1591734395511),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"settingId":"Show_Setup_Wizard","sorter":NumberInt(10)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Site_Name","_updatedAt":new Date(1591734395515),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"settingId":"Site_Name","sorter":NumberInt(12)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Site_Url","_updatedAt":new Date(1591734395513),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"settingId":"Site_Url","sorter":NumberInt(11)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Size","_updatedAt":new Date(1591734395782),"group":"Setup_Wizard","groupPermissionId":"change-setting-Setup_Wizard","level":"settings","roles":[],"section":"Organization_Info","sectionPermissionId":"change-setting-Organization_Info","settingId":"Size","sorter":NumberInt(3)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SlackBridge","_updatedAt":new Date(1591734399360),"level":"settings","roles":[],"settingId":"SlackBridge"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SlackBridge_APIToken","_updatedAt":new Date(1591734399376),"group":"SlackBridge","groupPermissionId":"change-setting-SlackBridge","level":"settings","roles":[],"settingId":"SlackBridge_APIToken","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SlackBridge_AliasFormat","_updatedAt":new Date(1591734399417),"group":"SlackBridge","groupPermissionId":"change-setting-SlackBridge","level":"settings","roles":[],"settingId":"SlackBridge_AliasFormat","sorter":NumberInt(6)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SlackBridge_Enabled","_updatedAt":new Date(1591734399367),"group":"SlackBridge","groupPermissionId":"change-setting-SlackBridge","level":"settings","roles":[],"settingId":"SlackBridge_Enabled","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SlackBridge_ExcludeBotnames","_updatedAt":new Date(1591734399425),"group":"SlackBridge","groupPermissionId":"change-setting-SlackBridge","level":"settings","roles":[],"settingId":"SlackBridge_ExcludeBotnames","sorter":NumberInt(7)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SlackBridge_FileUpload_Enabled","_updatedAt":new Date(1591734399389),"group":"SlackBridge","groupPermissionId":"change-setting-SlackBridge","level":"settings","roles":[],"settingId":"SlackBridge_FileUpload_Enabled","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SlackBridge_Out_All","_updatedAt":new Date(1591734399402),"group":"SlackBridge","groupPermissionId":"change-setting-SlackBridge","level":"settings","roles":[],"settingId":"SlackBridge_Out_All","sorter":NumberInt(4)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SlackBridge_Out_Channels","_updatedAt":new Date(1591734399409),"group":"SlackBridge","groupPermissionId":"change-setting-SlackBridge","level":"settings","roles":[],"settingId":"SlackBridge_Out_Channels","sorter":NumberInt(5)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SlackBridge_Out_Enabled","_updatedAt":new Date(1591734399395),"group":"SlackBridge","groupPermissionId":"change-setting-SlackBridge","level":"settings","roles":[],"settingId":"SlackBridge_Out_Enabled","sorter":NumberInt(3)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SlackBridge_Reactions_Enabled","_updatedAt":new Date(1591734399433),"group":"SlackBridge","groupPermissionId":"change-setting-SlackBridge","level":"settings","roles":[],"settingId":"SlackBridge_Reactions_Enabled","sorter":NumberInt(8)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Smarsh","_updatedAt":new Date(1591734396169),"level":"settings","roles":[],"settingId":"Smarsh"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Smarsh_Email","_updatedAt":new Date(1591734396173),"group":"Smarsh","groupPermissionId":"change-setting-Smarsh","level":"settings","roles":[],"settingId":"Smarsh_Email","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Smarsh_Enabled","_updatedAt":new Date(1591734396170),"group":"Smarsh","groupPermissionId":"change-setting-Smarsh","level":"settings","roles":[],"settingId":"Smarsh_Enabled","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Smarsh_Interval","_updatedAt":new Date(1591734396180),"group":"Smarsh","groupPermissionId":"change-setting-Smarsh","level":"settings","roles":[],"settingId":"Smarsh_Interval","sorter":NumberInt(4)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Smarsh_MissingEmail_Email","_updatedAt":new Date(1591734396176),"group":"Smarsh","groupPermissionId":"change-setting-Smarsh","level":"settings","roles":[],"settingId":"Smarsh_MissingEmail_Email","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Smarsh_Timezone","_updatedAt":new Date(1591734396177),"group":"Smarsh","groupPermissionId":"change-setting-Smarsh","level":"settings","roles":[],"settingId":"Smarsh_Timezone","sorter":NumberInt(3)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Statistics_reporting","_updatedAt":new Date(1591734395570),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"section":"Reporting","sectionPermissionId":"change-setting-Reporting","settingId":"Statistics_reporting","sorter":NumberInt(35)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Store_Last_Message","_updatedAt":new Date(1591734395563),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"settingId":"Store_Last_Message","sorter":NumberInt(31)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Stream_Cast_Address","_updatedAt":new Date(1591734395586),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"section":"Stream_Cast","sectionPermissionId":"change-setting-Stream_Cast","settingId":"Stream_Cast_Address","sorter":NumberInt(43)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Support_Cordova_App","_updatedAt":new Date(1591734395553),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"settingId":"Support_Cordova_App","sorter":NumberInt(27)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Threads","_updatedAt":new Date(1591734399441),"level":"settings","roles":[],"settingId":"Threads"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Threads_enabled","_updatedAt":new Date(1591734399449),"group":"Threads","groupPermissionId":"change-setting-Threads","level":"settings","roles":[],"settingId":"Threads_enabled","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Troubleshoot","_updatedAt":new Date(1591734396899),"level":"settings","roles":[],"settingId":"Troubleshoot"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Troubleshoot_Disable_Data_Exporter_Processor","_updatedAt":new Date(1591734396916),"group":"Troubleshoot","groupPermissionId":"change-setting-Troubleshoot","level":"settings","roles":[],"settingId":"Troubleshoot_Disable_Data_Exporter_Processor","sorter":NumberInt(6)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Troubleshoot_Disable_Instance_Broadcast","_updatedAt":new Date(1591734396906),"group":"Troubleshoot","groupPermissionId":"change-setting-Troubleshoot","level":"settings","roles":[],"settingId":"Troubleshoot_Disable_Instance_Broadcast","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Troubleshoot_Disable_Livechat_Activity_Monitor","_updatedAt":new Date(1591734396911),"group":"Troubleshoot","groupPermissionId":"change-setting-Troubleshoot","level":"settings","roles":[],"settingId":"Troubleshoot_Disable_Livechat_Activity_Monitor","sorter":NumberInt(4)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Troubleshoot_Disable_Notifications","_updatedAt":new Date(1591734396902),"group":"Troubleshoot","groupPermissionId":"change-setting-Troubleshoot","level":"settings","roles":[],"settingId":"Troubleshoot_Disable_Notifications","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Troubleshoot_Disable_Presence_Broadcast","_updatedAt":new Date(1591734396904),"group":"Troubleshoot","groupPermissionId":"change-setting-Troubleshoot","level":"settings","roles":[],"settingId":"Troubleshoot_Disable_Presence_Broadcast","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Troubleshoot_Disable_Sessions_Monitor","_updatedAt":new Date(1591734396909),"group":"Troubleshoot","groupPermissionId":"change-setting-Troubleshoot","level":"settings","roles":[],"settingId":"Troubleshoot_Disable_Sessions_Monitor","sorter":NumberInt(3)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Troubleshoot_Disable_Statistics_Generator","_updatedAt":new Date(1591734396913),"group":"Troubleshoot","groupPermissionId":"change-setting-Troubleshoot","level":"settings","roles":[],"settingId":"Troubleshoot_Disable_Statistics_Generator","sorter":NumberInt(5)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Troubleshoot_Disable_Workspace_Sync","_updatedAt":new Date(1591734396919),"group":"Troubleshoot","groupPermissionId":"change-setting-Troubleshoot","level":"settings","roles":[],"settingId":"Troubleshoot_Disable_Workspace_Sync","sorter":NumberInt(7)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-UI_Allow_room_names_with_special_chars","_updatedAt":new Date(1591734395742),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"User_Interface","sectionPermissionId":"change-setting-User_Interface","settingId":"UI_Allow_room_names_with_special_chars","sorter":NumberInt(17)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-UI_Click_Direct_Message","_updatedAt":new Date(1591734395738),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"User_Interface","sectionPermissionId":"change-setting-User_Interface","settingId":"UI_Click_Direct_Message","sorter":NumberInt(15)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-UI_DisplayRoles","_updatedAt":new Date(1591734395731),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"User_Interface","sectionPermissionId":"change-setting-User_Interface","settingId":"UI_DisplayRoles","sorter":NumberInt(11)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-UI_Group_Channels_By_Type","_updatedAt":new Date(1591734395733),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"User_Interface","sectionPermissionId":"change-setting-User_Interface","settingId":"UI_Group_Channels_By_Type","sorter":NumberInt(12)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-UI_Show_top_navbar_embedded_layout","_updatedAt":new Date(1591734395744),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"User_Interface","sectionPermissionId":"change-setting-User_Interface","settingId":"UI_Show_top_navbar_embedded_layout","sorter":NumberInt(18)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-UI_Unread_Counter_Style","_updatedAt":new Date(1591734395740),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"User_Interface","sectionPermissionId":"change-setting-User_Interface","settingId":"UI_Unread_Counter_Style","sorter":NumberInt(16)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-UI_Use_Name_Avatar","_updatedAt":new Date(1591734395735),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"User_Interface","sectionPermissionId":"change-setting-User_Interface","settingId":"UI_Use_Name_Avatar","sorter":NumberInt(13)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-UI_Use_Real_Name","_updatedAt":new Date(1591734395736),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"User_Interface","sectionPermissionId":"change-setting-User_Interface","settingId":"UI_Use_Real_Name","sorter":NumberInt(14)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-UTF8_Names_Slugify","_updatedAt":new Date(1591734395568),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"section":"UTF8","sectionPermissionId":"change-setting-UTF8","settingId":"UTF8_Names_Slugify","sorter":NumberInt(34)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-UTF8_Names_Validation","_updatedAt":new Date(1591734395566),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"section":"UTF8","sectionPermissionId":"change-setting-UTF8","settingId":"UTF8_Names_Validation","sorter":NumberInt(33)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Unread_Count","_updatedAt":new Date(1591734395537),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"settingId":"Unread_Count","sorter":NumberInt(20)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Unread_Count_DM","_updatedAt":new Date(1591734395540),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"settingId":"Unread_Count_DM","sorter":NumberInt(21)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Update_LatestAvailableVersion","_updatedAt":new Date(1591734396269),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"section":"Update","sectionPermissionId":"change-setting-Update","settingId":"Update_LatestAvailableVersion","sorter":NumberInt(47)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-UserDataDownload","_updatedAt":new Date(1591734396228),"level":"settings","roles":[],"settingId":"UserDataDownload"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-UserData_EnableDownload","_updatedAt":new Date(1591734396232),"group":"UserDataDownload","groupPermissionId":"change-setting-UserDataDownload","level":"settings","roles":[],"settingId":"UserData_EnableDownload","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-UserData_FileSystemPath","_updatedAt":new Date(1591734396234),"group":"UserDataDownload","groupPermissionId":"change-setting-UserDataDownload","level":"settings","roles":[],"settingId":"UserData_FileSystemPath","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-UserData_FileSystemZipPath","_updatedAt":new Date(1591734396235),"group":"UserDataDownload","groupPermissionId":"change-setting-UserDataDownload","level":"settings","roles":[],"settingId":"UserData_FileSystemZipPath","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-UserData_MessageLimitPerRequest","_updatedAt":new Date(1591734396239),"group":"UserDataDownload","groupPermissionId":"change-setting-UserDataDownload","level":"settings","roles":[],"settingId":"UserData_MessageLimitPerRequest","sorter":NumberInt(4)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-UserData_ProcessingFrequency","_updatedAt":new Date(1591734396237),"group":"UserDataDownload","groupPermissionId":"change-setting-UserDataDownload","level":"settings","roles":[],"settingId":"UserData_ProcessingFrequency","sorter":NumberInt(3)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Verification_Email","_updatedAt":new Date(1591734395213),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Verification","sectionPermissionId":"change-setting-Verification","settingId":"Verification_Email","sorter":NumberInt(34)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Verification_Email_Subject","_updatedAt":new Date(1591734395211),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Verification","sectionPermissionId":"change-setting-Verification","settingId":"Verification_Email_Subject","sorter":NumberInt(33)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Video Conference","_updatedAt":new Date(1591734399456),"level":"settings","roles":[],"settingId":"Video Conference"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-WebRTC","_updatedAt":new Date(1591734396243),"level":"settings","roles":[],"settingId":"WebRTC"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-WebRTC_Enable_Channel","_updatedAt":new Date(1591734396245),"group":"WebRTC","groupPermissionId":"change-setting-WebRTC","level":"settings","roles":[],"settingId":"WebRTC_Enable_Channel","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-WebRTC_Enable_Direct","_updatedAt":new Date(1591734396248),"group":"WebRTC","groupPermissionId":"change-setting-WebRTC","level":"settings","roles":[],"settingId":"WebRTC_Enable_Direct","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-WebRTC_Enable_Private","_updatedAt":new Date(1591734396246),"group":"WebRTC","groupPermissionId":"change-setting-WebRTC","level":"settings","roles":[],"settingId":"WebRTC_Enable_Private","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-WebRTC_Servers","_updatedAt":new Date(1591734396249),"group":"WebRTC","groupPermissionId":"change-setting-WebRTC","level":"settings","roles":[],"settingId":"WebRTC_Servers","sorter":NumberInt(3)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Webdav Integration","_updatedAt":new Date(1591734396240),"level":"settings","roles":[],"settingId":"Webdav Integration"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Webdav_Integration_Enabled","_updatedAt":new Date(1591734396242),"group":"Webdav Integration","groupPermissionId":"change-setting-Webdav Integration","level":"settings","roles":[],"settingId":"Webdav_Integration_Enabled","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Website","_updatedAt":new Date(1591734395786),"group":"Setup_Wizard","groupPermissionId":"change-setting-Setup_Wizard","level":"settings","roles":[],"section":"Organization_Info","sectionPermissionId":"change-setting-Organization_Info","settingId":"Website","sorter":NumberInt(5)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-bigbluebutton_Enabled","_updatedAt":new Date(1591734399463),"group":"Video Conference","groupPermissionId":"change-setting-Video Conference","level":"settings","roles":[],"section":"BigBlueButton","sectionPermissionId":"change-setting-BigBlueButton","settingId":"bigbluebutton_Enabled","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-bigbluebutton_enable_c","_updatedAt":new Date(1591734399504),"group":"Video Conference","groupPermissionId":"change-setting-Video Conference","level":"settings","roles":[],"section":"BigBlueButton","sectionPermissionId":"change-setting-BigBlueButton","settingId":"bigbluebutton_enable_c","sorter":NumberInt(5)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-bigbluebutton_enable_d","_updatedAt":new Date(1591734399491),"group":"Video Conference","groupPermissionId":"change-setting-Video Conference","level":"settings","roles":[],"section":"BigBlueButton","sectionPermissionId":"change-setting-BigBlueButton","settingId":"bigbluebutton_enable_d","sorter":NumberInt(3)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-bigbluebutton_enable_p","_updatedAt":new Date(1591734399497),"group":"Video Conference","groupPermissionId":"change-setting-Video Conference","level":"settings","roles":[],"section":"BigBlueButton","sectionPermissionId":"change-setting-BigBlueButton","settingId":"bigbluebutton_enable_p","sorter":NumberInt(4)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-bigbluebutton_server","_updatedAt":new Date(1591734399471),"group":"Video Conference","groupPermissionId":"change-setting-Video Conference","level":"settings","roles":[],"section":"BigBlueButton","sectionPermissionId":"change-setting-BigBlueButton","settingId":"bigbluebutton_server","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-bigbluebutton_sharedSecret","_updatedAt":new Date(1591734399484),"group":"Video Conference","groupPermissionId":"change-setting-Video Conference","level":"settings","roles":[],"section":"BigBlueButton","sectionPermissionId":"change-setting-BigBlueButton","settingId":"bigbluebutton_sharedSecret","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-css","_updatedAt":new Date(1591734396792),"level":"settings","roles":[],"settingId":"css","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-email_plain_text_only","_updatedAt":new Date(1591734395092),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Style","sectionPermissionId":"change-setting-Style","settingId":"email_plain_text_only","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-email_style","_updatedAt":new Date(1591734395095),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Style","sectionPermissionId":"change-setting-Style","settingId":"email_style","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-attention-color","_updatedAt":new Date(1591734396833),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Old Colors","sectionPermissionId":"change-setting-Old Colors","settingId":"theme-color-attention-color","sorter":NumberInt(54)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-component-color","_updatedAt":new Date(1591734396828),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Old Colors","sectionPermissionId":"change-setting-Old Colors","settingId":"theme-color-component-color","sorter":NumberInt(49)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-content-background-color","_updatedAt":new Date(1591734396813),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Old Colors","sectionPermissionId":"change-setting-Old Colors","settingId":"theme-color-content-background-color","sorter":NumberInt(42)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-custom-scrollbar-color","_updatedAt":new Date(1591734396220),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Old Colors (minor)","sectionPermissionId":"change-setting-Old Colors (minor)","settingId":"theme-color-custom-scrollbar-color","sorter":NumberInt(59)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-error-color","_updatedAt":new Date(1591734396984),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Old Colors","sectionPermissionId":"change-setting-Old Colors","settingId":"theme-color-error-color","sorter":NumberInt(52)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-info-font-color","_updatedAt":new Date(1591734396217),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Old Colors (minor)","sectionPermissionId":"change-setting-Old Colors (minor)","settingId":"theme-color-info-font-color","sorter":NumberInt(58)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-link-font-color","_updatedAt":new Date(1591734396215),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Old Colors (minor)","sectionPermissionId":"change-setting-Old Colors (minor)","settingId":"theme-color-link-font-color","sorter":NumberInt(57)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-pending-color","_updatedAt":new Date(1591734396982),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Old Colors","sectionPermissionId":"change-setting-Old Colors","settingId":"theme-color-pending-color","sorter":NumberInt(51)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-primary-action-color","_updatedAt":new Date(1591734396820),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Old Colors","sectionPermissionId":"change-setting-Old Colors","settingId":"theme-color-primary-action-color","sorter":NumberInt(45)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-primary-background-color","_updatedAt":new Date(1591734396815),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Old Colors","sectionPermissionId":"change-setting-Old Colors","settingId":"theme-color-primary-background-color","sorter":NumberInt(43)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-primary-font-color","_updatedAt":new Date(1591734396818),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Old Colors","sectionPermissionId":"change-setting-Old Colors","settingId":"theme-color-primary-font-color","sorter":NumberInt(44)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-rc-color-alert","_updatedAt":new Date(1591734396798),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Colors","sectionPermissionId":"change-setting-Colors","settingId":"theme-color-rc-color-alert","sorter":NumberInt(21)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-rc-color-alert-light","_updatedAt":new Date(1591734396182),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Colors","sectionPermissionId":"change-setting-Colors","settingId":"theme-color-rc-color-alert-light","sorter":NumberInt(22)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-rc-color-alert-message-primary","_updatedAt":new Date(1591734396186),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Colors","sectionPermissionId":"change-setting-Colors","settingId":"theme-color-rc-color-alert-message-primary","sorter":NumberInt(27)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-rc-color-alert-message-primary-background","_updatedAt":new Date(1591734396189),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Colors","sectionPermissionId":"change-setting-Colors","settingId":"theme-color-rc-color-alert-message-primary-background","sorter":NumberInt(28)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-rc-color-alert-message-secondary","_updatedAt":new Date(1591734396191),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Colors","sectionPermissionId":"change-setting-Colors","settingId":"theme-color-rc-color-alert-message-secondary","sorter":NumberInt(29)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-rc-color-alert-message-secondary-background","_updatedAt":new Date(1591734396194),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Colors","sectionPermissionId":"change-setting-Colors","settingId":"theme-color-rc-color-alert-message-secondary-background","sorter":NumberInt(30)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-rc-color-alert-message-warning","_updatedAt":new Date(1591734396196),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Colors","sectionPermissionId":"change-setting-Colors","settingId":"theme-color-rc-color-alert-message-warning","sorter":NumberInt(31)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-rc-color-alert-message-warning-background","_updatedAt":new Date(1591734396198),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Colors","sectionPermissionId":"change-setting-Colors","settingId":"theme-color-rc-color-alert-message-warning-background","sorter":NumberInt(32)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-rc-color-button-primary","_updatedAt":new Date(1591734396804),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Colors","sectionPermissionId":"change-setting-Colors","settingId":"theme-color-rc-color-button-primary","sorter":NumberInt(25)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-rc-color-button-primary-light","_updatedAt":new Date(1591734396184),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Colors","sectionPermissionId":"change-setting-Colors","settingId":"theme-color-rc-color-button-primary-light","sorter":NumberInt(26)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-rc-color-content","_updatedAt":new Date(1591734396811),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Colors","sectionPermissionId":"change-setting-Colors","settingId":"theme-color-rc-color-content","sorter":NumberInt(40)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-rc-color-error","_updatedAt":new Date(1591734396794),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Colors","sectionPermissionId":"change-setting-Colors","settingId":"theme-color-rc-color-error","sorter":NumberInt(19)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-rc-color-error-light","_updatedAt":new Date(1591734396796),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Colors","sectionPermissionId":"change-setting-Colors","settingId":"theme-color-rc-color-error-light","sorter":NumberInt(20)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-rc-color-link-active","_updatedAt":new Date(1591734396209),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Colors","sectionPermissionId":"change-setting-Colors","settingId":"theme-color-rc-color-link-active","sorter":NumberInt(41)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-rc-color-primary","_updatedAt":new Date(1591734396806),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Colors","sectionPermissionId":"change-setting-Colors","settingId":"theme-color-rc-color-primary","sorter":NumberInt(33)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-rc-color-primary-background","_updatedAt":new Date(1591734396923),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Colors","sectionPermissionId":"change-setting-Colors","settingId":"theme-color-rc-color-primary-background","sorter":NumberInt(34)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-rc-color-primary-dark","_updatedAt":new Date(1591734396203),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Colors","sectionPermissionId":"change-setting-Colors","settingId":"theme-color-rc-color-primary-dark","sorter":NumberInt(36)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-rc-color-primary-darkest","_updatedAt":new Date(1591734396201),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Colors","sectionPermissionId":"change-setting-Colors","settingId":"theme-color-rc-color-primary-darkest","sorter":NumberInt(35)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-rc-color-primary-light","_updatedAt":new Date(1591734396809),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Colors","sectionPermissionId":"change-setting-Colors","settingId":"theme-color-rc-color-primary-light","sorter":NumberInt(37)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-rc-color-primary-light-medium","_updatedAt":new Date(1591734396205),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Colors","sectionPermissionId":"change-setting-Colors","settingId":"theme-color-rc-color-primary-light-medium","sorter":NumberInt(38)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-rc-color-primary-lightest","_updatedAt":new Date(1591734396207),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Colors","sectionPermissionId":"change-setting-Colors","settingId":"theme-color-rc-color-primary-lightest","sorter":NumberInt(39)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-rc-color-success","_updatedAt":new Date(1591734396800),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Colors","sectionPermissionId":"change-setting-Colors","settingId":"theme-color-rc-color-success","sorter":NumberInt(23)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-rc-color-success-light","_updatedAt":new Date(1591734396802),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Colors","sectionPermissionId":"change-setting-Colors","settingId":"theme-color-rc-color-success-light","sorter":NumberInt(24)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-secondary-action-color","_updatedAt":new Date(1591734396826),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Old Colors","sectionPermissionId":"change-setting-Old Colors","settingId":"theme-color-secondary-action-color","sorter":NumberInt(48)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-secondary-background-color","_updatedAt":new Date(1591734396822),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Old Colors","sectionPermissionId":"change-setting-Old Colors","settingId":"theme-color-secondary-background-color","sorter":NumberInt(46)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-secondary-font-color","_updatedAt":new Date(1591734396824),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Old Colors","sectionPermissionId":"change-setting-Old Colors","settingId":"theme-color-secondary-font-color","sorter":NumberInt(47)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-selection-color","_updatedAt":new Date(1591734396830),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Old Colors","sectionPermissionId":"change-setting-Old Colors","settingId":"theme-color-selection-color","sorter":NumberInt(53)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-status-away","_updatedAt":new Date(1591734396837),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Old Colors (minor)","sectionPermissionId":"change-setting-Old Colors (minor)","settingId":"theme-color-status-away","sorter":NumberInt(61)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-status-busy","_updatedAt":new Date(1591734396839),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Old Colors (minor)","sectionPermissionId":"change-setting-Old Colors (minor)","settingId":"theme-color-status-busy","sorter":NumberInt(62)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-status-offline","_updatedAt":new Date(1591734396841),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Old Colors (minor)","sectionPermissionId":"change-setting-Old Colors (minor)","settingId":"theme-color-status-offline","sorter":NumberInt(63)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-status-online","_updatedAt":new Date(1591734396835),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Old Colors (minor)","sectionPermissionId":"change-setting-Old Colors (minor)","settingId":"theme-color-status-online","sorter":NumberInt(60)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-success-color","_updatedAt":new Date(1591734396980),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Old Colors","sectionPermissionId":"change-setting-Old Colors","settingId":"theme-color-success-color","sorter":NumberInt(50)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-tertiary-background-color","_updatedAt":new Date(1591734396211),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Old Colors (minor)","sectionPermissionId":"change-setting-Old Colors (minor)","settingId":"theme-color-tertiary-background-color","sorter":NumberInt(55)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-tertiary-font-color","_updatedAt":new Date(1591734396212),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Old Colors (minor)","sectionPermissionId":"change-setting-Old Colors (minor)","settingId":"theme-color-tertiary-font-color","sorter":NumberInt(56)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-custom-css","_updatedAt":new Date(1591734396223),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Custom CSS","sectionPermissionId":"change-setting-Custom CSS","settingId":"theme-custom-css","sorter":NumberInt(65)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-font-body-font-family","_updatedAt":new Date(1591734396221),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Fonts","sectionPermissionId":"change-setting-Fonts","settingId":"theme-font-body-font-family","sorter":NumberInt(64)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-uniqueID","_updatedAt":new Date(1591734395245),"level":"settings","roles":[],"settingId":"uniqueID","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"clean-channel-history","_updatedAt":new Date(1584022378434),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"close-livechat-room","_updatedAt":new Date(1584022378642),"roles":["livechat-agent","livechat-manager","admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"close-others-livechat-room","_updatedAt":new Date(1584022378645),"roles":["livechat-manager","admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"create-c","_updatedAt":new Date(1584022378418),"roles":["admin","user","bot","app"]});
db.getCollection("rocketchat_permissions").insert({"_id":"create-d","_updatedAt":new Date(1584022378420),"roles":["admin","user","bot","app"]});
db.getCollection("rocketchat_permissions").insert({"_id":"create-invite-links","_updatedAt":new Date(1584022378631),"roles":["admin","owner","moderator"]});
db.getCollection("rocketchat_permissions").insert({"_id":"create-p","_updatedAt":new Date(1584022378424),"roles":["admin","user","bot","app"]});
db.getCollection("rocketchat_permissions").insert({"_id":"create-personal-access-tokens","_updatedAt":new Date(1584022378427),"roles":["admin","user"]});
db.getCollection("rocketchat_permissions").insert({"_id":"create-user","_updatedAt":new Date(1584022378431),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"delete-c","_updatedAt":new Date(1584022378438),"roles":["admin","owner"]});
db.getCollection("rocketchat_permissions").insert({"_id":"delete-d","_updatedAt":new Date(1584022378440),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"delete-message","_updatedAt":new Date(1584022378444),"roles":["admin","owner","moderator"]});
db.getCollection("rocketchat_permissions").insert({"_id":"delete-own-message","_updatedAt":new Date(1584022378447),"roles":["admin","user"]});
db.getCollection("rocketchat_permissions").insert({"_id":"delete-p","_updatedAt":new Date(1584022378450),"roles":["admin","owner"]});
db.getCollection("rocketchat_permissions").insert({"_id":"delete-user","_updatedAt":new Date(1584022378453),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"edit-message","_updatedAt":new Date(1584022378457),"roles":["admin","owner","moderator"]});
db.getCollection("rocketchat_permissions").insert({"_id":"edit-other-user-active-status","_updatedAt":new Date(1584022378462),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"edit-other-user-avatar","_updatedAt":new Date(1584022378472),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"edit-other-user-info","_updatedAt":new Date(1584022378466),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"edit-other-user-password","_updatedAt":new Date(1584022378469),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"edit-privileged-setting","_updatedAt":new Date(1584022378474),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"edit-room","_updatedAt":new Date(1584022378478),"roles":["admin","owner","moderator"]});
db.getCollection("rocketchat_permissions").insert({"_id":"edit-room-retention-policy","_updatedAt":new Date(1584022378482),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"force-delete-message","_updatedAt":new Date(1584022378485),"roles":["admin","owner"]});
db.getCollection("rocketchat_permissions").insert({"_id":"join-without-join-code","_updatedAt":new Date(1584022378489),"roles":["admin","bot","app"]});
db.getCollection("rocketchat_permissions").insert({"_id":"leave-c","_updatedAt":new Date(1584022378493),"roles":["admin","user","bot","anonymous","app"]});
db.getCollection("rocketchat_permissions").insert({"_id":"leave-p","_updatedAt":new Date(1584022378498),"roles":["admin","user","bot","anonymous","app"]});
db.getCollection("rocketchat_permissions").insert({"_id":"mail-messages","_updatedAt":new Date(1591734397655),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"manage-apps","_updatedAt":new Date(1591734397237),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"manage-assets","_updatedAt":new Date(1584022378501),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"manage-cloud","_updatedAt":new Date(1591734384324),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"manage-emoji","_updatedAt":new Date(1584022378504),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"manage-incoming-integrations","_updatedAt":new Date(1584022378516),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"manage-livechat-agents","_updatedAt":new Date(1584022378674),"roles":["livechat-manager","admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"manage-livechat-departments","_updatedAt":new Date(1584022378677),"roles":["livechat-manager","admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"manage-livechat-managers","_updatedAt":new Date(1584022378671),"roles":["livechat-manager","admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"manage-oauth-apps","_updatedAt":new Date(1584022378526),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"manage-outgoing-integrations","_updatedAt":new Date(1584022378513),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"manage-own-incoming-integrations","_updatedAt":new Date(1584022378522),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"manage-own-outgoing-integrations","_updatedAt":new Date(1584022378519),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"manage-selected-settings","_updatedAt":new Date(1584022378529),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"manage-sounds","_updatedAt":new Date(1591734397753),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"manage-user-status","_updatedAt":new Date(1584022378507),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"mention-all","_updatedAt":new Date(1584022378533),"roles":["admin","owner","moderator","user"]});
db.getCollection("rocketchat_permissions").insert({"_id":"mention-here","_updatedAt":new Date(1584022378536),"roles":["admin","owner","moderator","user"]});
db.getCollection("rocketchat_permissions").insert({"_id":"mute-user","_updatedAt":new Date(1584022378539),"roles":["admin","owner","moderator"]});
db.getCollection("rocketchat_permissions").insert({"_id":"pin-message","_updatedAt":new Date(1591734398327),"roles":["owner","moderator","admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"post-readonly","_updatedAt":new Date(1591734397638),"roles":["admin","owner","moderator"]});
db.getCollection("rocketchat_permissions").insert({"_id":"preview-c-room","_updatedAt":new Date(1584022378619),"roles":["admin","user","anonymous"]});
db.getCollection("rocketchat_permissions").insert({"_id":"remove-closed-livechat-rooms","_updatedAt":new Date(1584022378658),"roles":["livechat-manager","admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"remove-user","_updatedAt":new Date(1584022378542),"roles":["admin","owner","moderator"]});
db.getCollection("rocketchat_permissions").insert({"_id":"run-import","_updatedAt":new Date(1584022378546),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"run-migration","_updatedAt":new Date(1584022378549),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"save-others-livechat-room-info","_updatedAt":new Date(1584022378648),"roles":["livechat-manager"]});
db.getCollection("rocketchat_permissions").insert({"_id":"send-many-messages","_updatedAt":new Date(1584022378560),"roles":["admin","bot","app"]});
db.getCollection("rocketchat_permissions").insert({"_id":"set-leader","_updatedAt":new Date(1584022378563),"roles":["admin","owner"]});
db.getCollection("rocketchat_permissions").insert({"_id":"set-moderator","_updatedAt":new Date(1584022378552),"roles":["admin","owner"]});
db.getCollection("rocketchat_permissions").insert({"_id":"set-owner","_updatedAt":new Date(1584022378555),"roles":["admin","owner"]});
db.getCollection("rocketchat_permissions").insert({"_id":"set-react-when-readonly","_updatedAt":new Date(1591734397648),"roles":["admin","owner"]});
db.getCollection("rocketchat_permissions").insert({"_id":"set-readonly","_updatedAt":new Date(1591734397640),"roles":["admin","owner"]});
db.getCollection("rocketchat_permissions").insert({"_id":"snippet-message","_updatedAt":new Date(1591734398341),"roles":["owner","moderator","admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"start-discussion","_updatedAt":new Date(1584022382568),"roles":["admin","user","expert","guest"]});
db.getCollection("rocketchat_permissions").insert({"_id":"start-discussion-other-user","_updatedAt":new Date(1584022382572),"roles":["admin","user","expert","owner"]});
db.getCollection("rocketchat_permissions").insert({"_id":"transfer-livechat-guest","_updatedAt":new Date(1584022378668),"roles":["livechat-manager","admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"unarchive-room","_updatedAt":new Date(1584022378567),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"user-generate-access-token","_updatedAt":new Date(1584022378575),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"view-broadcast-member-list","_updatedAt":new Date(1584022378625),"roles":["admin","owner","moderator"]});
db.getCollection("rocketchat_permissions").insert({"_id":"view-c-room","_updatedAt":new Date(1584022378570),"roles":["admin","user","bot","app","anonymous"]});
db.getCollection("rocketchat_permissions").insert({"_id":"view-d-room","_updatedAt":new Date(1589465222202),"roles":["admin","user","bot","app","guest"]});
db.getCollection("rocketchat_permissions").insert({"_id":"view-full-other-user-info","_updatedAt":new Date(1584022378584),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"view-history","_updatedAt":new Date(1584022378587),"roles":["admin","user","anonymous"]});
db.getCollection("rocketchat_permissions").insert({"_id":"view-join-code","_updatedAt":new Date(1584022378594),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"view-joined-room","_updatedAt":new Date(1584022378591),"roles":["guest","bot","app","anonymous"]});
db.getCollection("rocketchat_permissions").insert({"_id":"view-l-room","_updatedAt":new Date(1584022378634),"roles":["livechat-agent","livechat-manager","admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"view-livechat-analytics","_updatedAt":new Date(1584022378662),"roles":["livechat-manager","admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"view-livechat-appearance","_updatedAt":new Date(1584022378701),"roles":["livechat-manager","admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"view-livechat-current-chats","_updatedAt":new Date(1584022378686),"roles":["livechat-manager","admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"view-livechat-customfields","_updatedAt":new Date(1584022378695),"roles":["livechat-manager","admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"view-livechat-departments","_updatedAt":new Date(1584022378680),"roles":["livechat-manager","admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"view-livechat-facebook","_updatedAt":new Date(1584022378706),"roles":["livechat-manager","admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"view-livechat-installation","_updatedAt":new Date(1584022378698),"roles":["livechat-manager","admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"view-livechat-manager","_updatedAt":new Date(1584022378637),"roles":["livechat-manager","admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"view-livechat-officeHours","_updatedAt":new Date(1584022378710),"roles":["livechat-manager","admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"view-livechat-queue","_updatedAt":new Date(1584022378665),"roles":["livechat-manager","admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"view-livechat-real-time-monitoring","_updatedAt":new Date(1584022378689),"roles":["livechat-manager","admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"view-livechat-rooms","_updatedAt":new Date(1584022378639),"roles":["livechat-manager","admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"view-livechat-triggers","_updatedAt":new Date(1584022378692),"roles":["livechat-manager","admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"view-livechat-webhooks","_updatedAt":new Date(1584022378704),"roles":["livechat-manager","admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"view-logs","_updatedAt":new Date(1584022378598),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"view-other-user-channels","_updatedAt":new Date(1584022378602),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"view-outside-room","_updatedAt":new Date(1584022378622),"roles":["admin","owner","moderator","user"]});
db.getCollection("rocketchat_permissions").insert({"_id":"view-p-room","_updatedAt":new Date(1589465222202),"roles":["admin","user","anonymous","guest"]});
db.getCollection("rocketchat_permissions").insert({"_id":"view-privileged-setting","_updatedAt":new Date(1584022378607),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"view-room-administration","_updatedAt":new Date(1584022378611),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"view-statistics","_updatedAt":new Date(1584022378613),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"view-user-administration","_updatedAt":new Date(1584022378616),"roles":["admin"]});

View File

@ -0,0 +1,11 @@
db.getCollection("rocketchat_roles").insert({"_id":"admin","_updatedAt":new Date(1591734394689),"description":"Admin","mandatory2fa":false,"protected":true,"scope":"Users"});
db.getCollection("rocketchat_roles").insert({"_id":"anonymous","_updatedAt":new Date(1591734394716),"description":"","mandatory2fa":false,"protected":true,"scope":"Users"});
db.getCollection("rocketchat_roles").insert({"_id":"app","_updatedAt":new Date(1591734394711),"description":"","mandatory2fa":false,"protected":true,"scope":"Users"});
db.getCollection("rocketchat_roles").insert({"_id":"bot","_updatedAt":new Date(1591734394706),"description":"","mandatory2fa":false,"protected":true,"scope":"Users"});
db.getCollection("rocketchat_roles").insert({"_id":"guest","_updatedAt":new Date(1591734394714),"description":"","mandatory2fa":false,"protected":true,"scope":"Users"});
db.getCollection("rocketchat_roles").insert({"_id":"leader","_updatedAt":new Date(1591734394698),"description":"Leader","mandatory2fa":false,"protected":true,"scope":"Subscriptions"});
db.getCollection("rocketchat_roles").insert({"_id":"livechat-agent","_updatedAt":new Date(1591734394718),"description":"Livechat Agent","mandatory2fa":false,"protected":true,"scope":"Users"});
db.getCollection("rocketchat_roles").insert({"_id":"livechat-manager","_updatedAt":new Date(1591734394720),"description":"Livechat Manager","mandatory2fa":false,"protected":true,"scope":"Users"});
db.getCollection("rocketchat_roles").insert({"_id":"moderator","_updatedAt":new Date(1591734394695),"description":"Moderator","mandatory2fa":false,"protected":true,"scope":"Subscriptions"});
db.getCollection("rocketchat_roles").insert({"_id":"owner","_updatedAt":new Date(1591734394701),"description":"Owner","mandatory2fa":false,"protected":true,"scope":"Subscriptions"});
db.getCollection("rocketchat_roles").insert({"_id":"user","_updatedAt":new Date(1591734394703),"description":"","mandatory2fa":false,"protected":true,"scope":"Users"});

View File

@ -0,0 +1 @@
db.getCollection("rocketchat_room").insert({"_id":"GENERAL","ts":new Date(1584022382998),"t":"c","name":"general","usernames":[],"msgs":NumberInt(3),"usersCount":NumberInt(3),"default":true,"_updatedAt":new Date(1589465366516),"lastMessage":{"_id":"fsy2dZJgmmboowJ8N","t":"uj","rid":"GENERAL","ts":new Date(1584022608462),"msg":"admin","u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin"},"groupable":false,"_updatedAt":new Date(1584022608462)},"lm":new Date(1584022608462)});

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
db.getCollection("rocketchat_statistics").insert({"_id":"zv7P4mn7CZnCRKnfk","wizard":{"organizationType":"nonprofit","industry":"other","size":"0","country":"unitedKingdom","language":"","serverType":"","registerServer":true},"uniqueId":"2zbFT528GXW2oBwN7","installedAt":new Date(1584022362665),"version":"3.0.3","totalUsers":NumberInt(4),"activeUsers":NumberInt(4),"nonActiveUsers":NumberInt(0),"appUsers":NumberInt(0),"onlineUsers":NumberInt(1),"awayUsers":NumberInt(0),"totalConnectedUsers":NumberInt(1),"offlineUsers":NumberInt(3),"totalRooms":NumberInt(3),"totalChannels":NumberInt(2),"totalPrivateGroups":NumberInt(0),"totalDirect":NumberInt(1),"totalLivechat":NumberInt(0),"totalDiscussions":NumberInt(0),"totalThreads":NumberInt(0),"totalLivechatVisitors":NumberInt(0),"totalLivechatAgents":NumberInt(0),"livechatEnabled":false,"totalMessages":NumberInt(3),"totalChannelMessages":NumberInt(3),"totalPrivateGroupMessages":NumberInt(0),"totalDirectMessages":NumberInt(0),"totalLivechatMessages":NumberInt(0),"federatedServers":NumberInt(0),"federatedUsers":NumberInt(0),"lastLogin":new Date(1584110308788),"lastMessageSentAt":new Date(1584022922478),"lastSeenSubscription":new Date(1584054253513),"os":{"type":"Linux","platform":"linux","arch":"x64","release":"4.19.76-linuxkit","uptime":NumberInt(2021925),"loadavg":[{"$numberDouble":"0.14697265625"},{"$numberDouble":"0.0322265625"},{"$numberDouble":"0.01025390625"}],"totalmem":{"$numberDouble":"8.35098624E+09"},"freemem":{"$numberDouble":"2.621341696E+09"},"cpus":[{"model":"Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz","speed":NumberInt(2600),"times":{"user":NumberInt(25858600),"nice":NumberInt(0),"sys":NumberInt(85134400),"idle":{"$numberDouble":"1.98209867E+10"},"irq":NumberInt(0)}},{"model":"Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz","speed":NumberInt(2600),"times":{"user":NumberInt(24708700),"nice":NumberInt(0),"sys":NumberInt(71585300),"idle":{"$numberDouble":"1.99107066E+10"},"irq":NumberInt(0)}},{"model":"Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz","speed":NumberInt(2600),"times":{"user":NumberInt(24915900),"nice":NumberInt(0),"sys":NumberInt(71185000),"idle":{"$numberDouble":"1.99216669E+10"},"irq":NumberInt(0)}},{"model":"Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz","speed":NumberInt(2600),"times":{"user":NumberInt(24652900),"nice":NumberInt(0),"sys":NumberInt(68993700),"idle":{"$numberDouble":"1.99293535E+10"},"irq":NumberInt(0)}},{"model":"Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz","speed":NumberInt(2600),"times":{"user":NumberInt(26861000),"nice":NumberInt(0),"sys":NumberInt(78875900),"idle":{"$numberDouble":"1.98936536E+10"},"irq":NumberInt(0)}}]},"process":{"nodeVersion":"v12.14.0","pid":NumberInt(8),"uptime":{"$numberDouble":"392816.4318724"}},"deploy":{"method":"docker","platform":"selfinstall"},"uploadsTotal":NumberInt(0),"uploadsTotalSize":NumberInt(0),"migration":{"_id":"control","locked":false,"version":NumberInt(174)},"instanceCount":NumberInt(1),"oplogEnabled":true,"mongoVersion":"4.0.16","mongoStorageEngine":"mmapv1","uniqueUsersOfYesterday":{"year":NumberInt(2020),"month":NumberInt(3),"day":NumberInt(16),"data":[]},"uniqueUsersOfLastMonth":{"year":NumberInt(2020),"month":NumberInt(2),"day":NumberInt(17),"data":[]},"uniqueDevicesOfYesterday":{"year":NumberInt(2020),"month":NumberInt(3),"day":NumberInt(16),"data":[]},"uniqueDevicesOfLastMonth":{"year":NumberInt(2020),"month":NumberInt(3),"day":NumberInt(16),"data":[]},"uniqueOSOfYesterday":{"year":NumberInt(2020),"month":NumberInt(3),"day":NumberInt(16),"data":[]},"uniqueOSOfLastMonth":{"year":NumberInt(2020),"month":NumberInt(3),"day":NumberInt(16),"data":[]},"apps":{"engineVersion":"1.12.0","enabled":true,"totalInstalled":NumberInt(0),"totalActive":NumberInt(0)},"integrations":{"totalIntegrations":NumberInt(0),"totalIncoming":NumberInt(0),"totalIncomingActive":NumberInt(0),"totalOutgoing":NumberInt(0),"totalOutgoingActive":NumberInt(0),"totalWithScriptEnabled":NumberInt(0)},"createdAt":new Date(1584414716293),"_updatedAt":new Date(1584414716293)});

View File

@ -0,0 +1 @@
db.getCollection("rocketchat_subscription").insert({"_id":"KRktZiYdT9DK3dZgJ","open":true,"alert":false,"unread":NumberInt(0),"userMentions":NumberInt(0),"groupMentions":NumberInt(0),"ts":new Date(1584022608447),"rid":"GENERAL","name":"general","t":"c","u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"_updatedAt":new Date(1589465366503),"ls":new Date(1589465366503)});

View File

@ -0,0 +1,2 @@
db.getCollection("users").insert({"_id":"nM6vXyDLGGzSPsLNy","createdAt":new Date(1584022531608),"services":{"password":{"bcrypt":"$2b$10$fXL9kVkWeKA7TbP2skwau.Xu3V52q1x/YPfZQ4oYjHhCRPdXwZOQ6"},"email":{"verificationTokens":[{"token":"YadCnp4E2o8lD8ZEyzn320qjoW9QEIGSU1jsaR2840J","address":"admin@example.com","when":new Date(1584022531675)}]},"resume":{"loginTokens":[]}},"emails":[{"address":"admin@example.com","verified":false}],"type":"user","status":"offline","active":true,"_updatedAt":new Date(1589468245023),"roles":["admin"],"name":"Admin","lastLogin":new Date(1589465335818),"statusConnection":"offline","username":"admin","utcOffset":NumberInt(1),"statusDefault":"online","statusText":"Lunch"}); //Password = "password"
db.getCollection("users").insert({"_id":"rocket.cat","createdAt":new Date(1584022383007),"avatarOrigin":"local","name":"Rocket.Cat","username":"rocket.cat","status":"online","statusDefault":"online","utcOffset":NumberInt(0),"active":true,"type":"bot","_updatedAt":new Date(1584022383316),"roles":["bot"]});

View File

@ -0,0 +1,27 @@
version: '2'
services:
mongo:
image: circleci/mongo:4.0
volumes:
- ${DATAROOT}/data/db:/data/db
- ${DATAROOT}/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d:ro
environment:
- MONGO_INITDB_DATABASE=rocketchat
mongo-init-replica: # No replicas when testing
image: tianon/true
restart: "no"
command: "true"
entrypoint: ["/true"]
hubot: # No hubot when testing
image: tianon/true
restart: "no"
command: "true"
entrypoint: ["/true"]
mailcatcher:
image: tophfr/mailcatcher
ports:
- 1080:80

31
e2e/docker/runTestsInDocker.sh Executable file
View File

@ -0,0 +1,31 @@
#!/bin/bash
SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )"
ROOT_FOLDER=${SCRIPTPATH%%/e2e*} #Gets path up to (but excluding) "e2e" - this assumes this script is always held within the e2e folder
PAUSE_ON_FAIL_FOR_DEBUG=0
FORCE_DEFAULT_DOCKER_DATA=0 # Set this to 1 to automatically overwrite data.js with the working Docker version
TEST_SUBSET="${1:-}"
function cleanup_and_exit () {
"$SCRIPTPATH/controlRCDemoEnv.sh" stop
exit $1
}
# INFRASTRUCTURE UP
"$SCRIPTPATH/controlRCDemoEnv.sh" startandwait
# RUN TESTS
echo "Running tests"
cd "$ROOT_FOLDER"
if [ $FORCE_DEFAULT_DOCKER_DATA == 1 ]; then
cp "./e2e/data/data.docker.js" "./e2e/data.js"
fi
npx detox test "$ROOT_FOLDER/e2e/tests/$TEST_SUBSET" -c ios.sim.release
TEST_SUCCESS=$?
if [ $TEST_SUCCESS != 0 ] && [ $PAUSE_ON_FAIL_FOR_DEBUG == 1 ]; then
read -n 1 -s -r -p "Paused for debugging failed tests. Press any key to continue." && echo
fi
cleanup_and_exit $TEST_SUCCESS

View File

@ -27,10 +27,10 @@ async function navigateToRegister() {
await expect(element(by.id('register-view'))).toBeVisible(); await expect(element(by.id('register-view'))).toBeVisible();
} }
async function login() { async function login(username, password) {
await waitFor(element(by.id('login-view'))).toBeVisible().withTimeout(2000); await waitFor(element(by.id('login-view'))).toBeVisible().withTimeout(2000);
await element(by.id('login-view-email')).replaceText(data.user); await element(by.id('login-view-email')).replaceText(username);
await element(by.id('login-view-password')).replaceText(data.password); await element(by.id('login-view-password')).replaceText(password);
await sleep(300); await sleep(300);
await element(by.id('login-view-submit')).tap(); await element(by.id('login-view-submit')).tap();
await waitFor(element(by.id('rooms-list-view'))).toBeVisible().withTimeout(10000); await waitFor(element(by.id('rooms-list-view'))).toBeVisible().withTimeout(10000);
@ -52,17 +52,14 @@ async function logout() {
await expect(element(by.id('onboarding-view'))).toBeVisible(); await expect(element(by.id('onboarding-view'))).toBeVisible();
} }
async function createUser() { async function mockMessage(message) {
await navigateToRegister(); await element(by.id('messagebox-input')).tap();
await element(by.id('register-view-name')).replaceText(data.user); await element(by.id('messagebox-input')).typeText(`${ data.random }${ message }`);
await element(by.id('register-view-username')).replaceText(data.user); await element(by.id('messagebox-send-message')).tap();
await element(by.id('register-view-email')).replaceText(data.email); await waitFor(element(by.label(`${ data.random }${ message }`)).atIndex(0)).toExist().withTimeout(60000);
await element(by.id('register-view-password')).replaceText(data.password); await expect(element(by.label(`${ data.random }${ message }`)).atIndex(0)).toExist();
await sleep(300); await element(by.label(`${ data.random }${ message }`)).atIndex(0).tap();
await element(by.id('register-view-submit')).tap(); };
await waitFor(element(by.id('rooms-list-view'))).toBeVisible().withTimeout(60000);
await expect(element(by.id('rooms-list-view'))).toBeVisible();
}
async function tapBack() { async function tapBack() {
await element(by.id('header-back')).atIndex(0).tap(); await element(by.id('header-back')).atIndex(0).tap();
@ -86,7 +83,7 @@ module.exports = {
navigateToRegister, navigateToRegister,
login, login,
logout, logout,
createUser, mockMessage,
tapBack, tapBack,
sleep, sleep,
searchRoom searchRoom

77
e2e/helpers/data_setup.js Normal file
View File

@ -0,0 +1,77 @@
const axios = require('axios').default;
const data = require('../data');
let server = data.server
const rocketchat = axios.create({
baseURL: `${server}/api/v1/`,
headers: {
'Content-Type': 'application/json;charset=UTF-8',
}
})
const login = async (username, password) => {
console.log(`Logging in as user ${username}`)
const response = await rocketchat.post('login', {
"user": username,
"password": password
})
const userId = response.data.data.userId
const authToken = response.data.data.authToken
rocketchat.defaults.headers.common['X-User-Id'] = userId
rocketchat.defaults.headers.common['X-Auth-Token'] = authToken
}
const createUser = async (username, password, name, email) => {
console.log(`Creating user ${username}`)
try {
await rocketchat.post('users.create', {
"username": username,
"password": password,
"name": name,
"email": email
})
} catch (error) {
console.log(JSON.stringify(error))
throw "Failed to create user"
}
}
const createChannelIfNotExists = async (channelname) => {
console.log(`Creating channel ${channelname}`)
try {
await rocketchat.post('channels.create', {
"name": channelname
})
} catch (createError) {
try { //Maybe it exists already?
await rocketchat.get(`channels.info?roomName=${channelname}`)
} catch (infoError) {
console.log(JSON.stringify(createError))
console.log(JSON.stringify(infoError))
throw "Failed to find or create channel"
}
}
}
const setup = async () => {
await login(data.adminUser, data.adminPassword)
for (var userKey in data.users) {
if (data.users.hasOwnProperty(userKey)) {
const user = data.users[userKey]
await createUser(user.username, user.password, user.username, user.email)
}
}
for (var channelKey in data.channels) {
if (data.channels.hasOwnProperty(channelKey)) {
const channel = data.channels[channelKey]
await createChannelIfNotExists(channel.name)
}
}
return
}
module.exports = setup

View File

@ -1 +0,0 @@
--recursive --timeout 120000 -b

View File

@ -2,7 +2,7 @@ const {
device, expect, element, by, waitFor device, expect, element, by, waitFor
} = require('detox'); } = require('detox');
const data = require('../../data'); const data = require('../../data');
const { sleep, createUser } = require('../../helpers/app'); const { sleep, navigateToLogin, login } = require('../../helpers/app');
const checkServer = async(server) => { const checkServer = async(server) => {
const label = `Connected to ${ server }`; const label = `Connected to ${ server }`;
@ -15,7 +15,8 @@ const checkServer = async(server) => {
describe('Change server', () => { describe('Change server', () => {
before(async() => { before(async() => {
await createUser(); await navigateToLogin();
await login(data.users.regular.username, data.users.regular.password);
await waitFor(element(by.id('rooms-list-view'))).toBeVisible().withTimeout(10000); await waitFor(element(by.id('rooms-list-view'))).toBeVisible().withTimeout(10000);
}); });
@ -41,10 +42,10 @@ describe('Change server', () => {
await waitFor(element(by.id('register-view'))).toBeVisible().withTimeout(2000); await waitFor(element(by.id('register-view'))).toBeVisible().withTimeout(2000);
await expect(element(by.id('register-view'))).toBeVisible(); await expect(element(by.id('register-view'))).toBeVisible();
// Register new user // Register new user
await element(by.id('register-view-name')).replaceText(data.user); await element(by.id('register-view-name')).replaceText(data.registeringUser.username);
await element(by.id('register-view-username')).replaceText(data.user); await element(by.id('register-view-username')).replaceText(data.registeringUser.username);
await element(by.id('register-view-email')).replaceText(data.email); await element(by.id('register-view-email')).replaceText(data.registeringUser.email);
await element(by.id('register-view-password')).replaceText(data.password); await element(by.id('register-view-password')).replaceText(data.registeringUser.password);
await sleep(1000); await sleep(1000);
await element(by.id('register-view-submit')).tap(); await element(by.id('register-view-submit')).tap();
await waitFor(element(by.id('rooms-list-view'))).toBeVisible().withTimeout(60000); await waitFor(element(by.id('rooms-list-view'))).toBeVisible().withTimeout(60000);

View File

@ -3,14 +3,17 @@ const {
} = require('detox'); } = require('detox');
const OTP = require('otp.js'); const OTP = require('otp.js');
const GA = OTP.googleAuthenticator; const GA = OTP.googleAuthenticator;
const { navigateToLogin, login, tapBack, sleep, searchRoom } = require('../../helpers/app'); const { navigateToLogin, login, mockMessage, tapBack, sleep, searchRoom } = require('../../helpers/app');
const data = require('../../data'); const data = require('../../data');
const testuser = data.users.regular
const otheruser = data.users.alternate
describe('Broadcast room', () => { describe('Broadcast room', () => {
before(async() => { before(async() => {
await device.launchApp({ permissions: { notifications: 'YES' }, delete: true }); await device.launchApp({ permissions: { notifications: 'YES' }, delete: true });
await navigateToLogin(); await navigateToLogin();
await login(); await login(testuser.username, testuser.password);
}); });
it('should create broadcast room', async() => { it('should create broadcast room', async() => {
@ -18,19 +21,22 @@ describe('Broadcast room', () => {
await waitFor(element(by.id('new-message-view'))).toBeVisible().withTimeout(2000); await waitFor(element(by.id('new-message-view'))).toBeVisible().withTimeout(2000);
await element(by.id('new-message-view-create-channel')).tap(); await element(by.id('new-message-view-create-channel')).tap();
await waitFor(element(by.id('select-users-view'))).toBeVisible().withTimeout(2000); await waitFor(element(by.id('select-users-view'))).toBeVisible().withTimeout(2000);
await element(by.id('select-users-view-search')).replaceText(data.alternateUser); await element(by.id('select-users-view-search')).replaceText(otheruser.username);
await waitFor(element(by.id(`select-users-view-item-${ data.alternateUser }`))).toBeVisible().withTimeout(60000); await waitFor(element(by.id(`select-users-view-item-${ otheruser.username }`))).toBeVisible().withTimeout(60000);
await expect(element(by.id(`select-users-view-item-${ data.alternateUser }`))).toBeVisible(); await expect(element(by.id(`select-users-view-item-${ otheruser.username }`))).toBeVisible();
await element(by.id(`select-users-view-item-${ data.alternateUser }`)).tap(); await element(by.id(`select-users-view-item-${ otheruser.username }`)).tap();
await waitFor(element(by.id(`selected-user-${ data.alternateUser }`))).toBeVisible().withTimeout(5000); await waitFor(element(by.id(`selected-user-${ otheruser.username }`))).toBeVisible().withTimeout(5000);
await sleep(1000); await sleep(1000);
await element(by.id('selected-users-view-submit')).tap(); await element(by.id('selected-users-view-submit')).tap();
await sleep(1000); await sleep(1000);
await waitFor(element(by.id('create-channel-view'))).toExist().withTimeout(5000); await waitFor(element(by.id('create-channel-view'))).toExist().withTimeout(5000);
await element(by.id('create-channel-name')).replaceText(`broadcast${ data.random }`); await element(by.id('create-channel-name')).replaceText(`broadcast${ data.random }`);
await sleep(1000); await sleep(2000);
await element(by.id('create-channel-broadcast')).tap(); await element(by.id('create-channel-broadcast')).tap();
await sleep(1000); if (device.getPlatform() === 'ios') { //Because this tap is FLAKY on iOS
await expect(element(by.id('create-channel-broadcast'))).toHaveValue('1')
}
await sleep(500);
await element(by.id('create-channel-submit')).tap(); await element(by.id('create-channel-submit')).tap();
await waitFor(element(by.id('room-view'))).toBeVisible().withTimeout(60000); await waitFor(element(by.id('room-view'))).toBeVisible().withTimeout(60000);
await expect(element(by.id('room-view'))).toBeVisible(); await expect(element(by.id('room-view'))).toBeVisible();
@ -51,27 +57,23 @@ describe('Broadcast room', () => {
it('should send message', async() => { it('should send message', async() => {
await waitFor(element(by.id('room-view'))).toBeVisible().withTimeout(5000); await waitFor(element(by.id('room-view'))).toBeVisible().withTimeout(5000);
await element(by.id('messagebox-input')).tap(); await mockMessage('message');
await element(by.id('messagebox-input')).typeText(`${ data.random }message`);
await element(by.id('messagebox-send-message')).tap();
await waitFor(element(by.label(`${ data.random }message`)).atIndex(0)).toExist().withTimeout(60000);
await expect(element(by.label(`${ data.random }message`)).atIndex(0)).toBeVisible();
await tapBack(); await tapBack();
}); });
it('should login as user without write message authorization and enter room', async() => { it('should login as user without write message authorization and enter room', async() => {
await device.launchApp({ permissions: { notifications: 'YES' }, delete: true }); await device.launchApp({ permissions: { notifications: 'YES' }, delete: true });
await navigateToLogin(); await navigateToLogin();
await element(by.id('login-view-email')).replaceText(data.alternateUser); await element(by.id('login-view-email')).replaceText(otheruser.username);
await element(by.id('login-view-password')).replaceText(data.alternateUserPassword); await element(by.id('login-view-password')).replaceText(otheruser.password);
await sleep(1000); await sleep(1000);
await element(by.id('login-view-submit')).tap(); await element(by.id('login-view-submit')).tap();
await waitFor(element(by.id('two-factor'))).toBeVisible().withTimeout(5000); //await waitFor(element(by.id('two-factor'))).toBeVisible().withTimeout(5000);
await expect(element(by.id('two-factor'))).toBeVisible(); //await expect(element(by.id('two-factor'))).toBeVisible();
const code = GA.gen(data.alternateUserTOTPSecret); //const code = GA.gen(data.alternateUserTOTPSecret);
await element(by.id('two-factor-input')).replaceText(code); //await element(by.id('two-factor-input')).replaceText(code);
await sleep(1000); //await sleep(1000);
await element(by.id('two-factor-send')).tap(); //await element(by.id('two-factor-send')).tap();
await waitFor(element(by.id('rooms-list-view'))).toBeVisible().withTimeout(10000); await waitFor(element(by.id('rooms-list-view'))).toBeVisible().withTimeout(10000);
await searchRoom(`broadcast${ data.random }`); await searchRoom(`broadcast${ data.random }`);
await waitFor(element(by.id(`rooms-list-view-item-broadcast${ data.random }`))).toExist().withTimeout(60000); await waitFor(element(by.id(`rooms-list-view-item-broadcast${ data.random }`))).toExist().withTimeout(60000);
@ -103,15 +105,11 @@ describe('Broadcast room', () => {
it('should tap on reply button and navigate to direct room', async() => { it('should tap on reply button and navigate to direct room', async() => {
await element(by.id('message-broadcast-reply')).tap(); await element(by.id('message-broadcast-reply')).tap();
await sleep(1000); await sleep(1000);
await waitFor(element(by.id(`room-view-title-${ data.user }`))).toBeVisible().withTimeout(5000); await waitFor(element(by.id(`room-view-title-${ testuser.username }`))).toBeVisible().withTimeout(5000);
await expect(element(by.id(`room-view-title-${ data.user }`))).toBeVisible(); await expect(element(by.id(`room-view-title-${ testuser.username }`))).toBeVisible();
}); });
it('should reply broadcasted message', async() => { it('should reply broadcasted message', async() => {
await element(by.id('messagebox-input')).tap(); await mockMessage('broadcastreply');
await element(by.id('messagebox-input')).typeText(`${ data.random }broadcastreply`);
await element(by.id('messagebox-send-message')).tap();
await waitFor(element(by.label(`${ data.random }broadcastreply`)).atIndex(0)).toBeVisible().withTimeout(60000);
await expect(element(by.label(`${ data.random }broadcastreply`)).atIndex(0)).toBeVisible();
}); });
}); });

View File

@ -1,9 +1,11 @@
const { const {
device, expect, element, by, waitFor device, expect, element, by, waitFor
} = require('detox'); } = require('detox');
const { logout, navigateToLogin, login, sleep } = require('../../helpers/app'); const { navigateToLogin, login, sleep } = require('../../helpers/app');
const data = require('../../data'); const data = require('../../data');
const profileChangeUser = data.users.profileChanges
const scrollDown = 200; const scrollDown = 200;
async function waitForToast() { async function waitForToast() {
@ -18,7 +20,7 @@ describe('Profile screen', () => {
before(async() => { before(async() => {
await device.launchApp({ permissions: { notifications: 'YES' }, delete: true }); await device.launchApp({ permissions: { notifications: 'YES' }, delete: true });
await navigateToLogin(); await navigateToLogin();
await login(); await login(profileChangeUser.username, profileChangeUser.password);
await element(by.id('rooms-list-view-sidebar')).tap(); await element(by.id('rooms-list-view-sidebar')).tap();
await waitFor(element(by.id('sidebar-view'))).toBeVisible().withTimeout(2000); await waitFor(element(by.id('sidebar-view'))).toBeVisible().withTimeout(2000);
await waitFor(element(by.id('sidebar-profile'))).toBeVisible().withTimeout(2000); await waitFor(element(by.id('sidebar-profile'))).toBeVisible().withTimeout(2000);
@ -80,8 +82,8 @@ describe('Profile screen', () => {
describe('Usage', async() => { describe('Usage', async() => {
it('should change name and username', async() => { it('should change name and username', async() => {
await element(by.type('UIScrollView')).atIndex(1).swipe('down'); await element(by.type('UIScrollView')).atIndex(1).swipe('down');
await element(by.id('profile-view-name')).replaceText(`${ data.user }new`); await element(by.id('profile-view-name')).replaceText(`${ profileChangeUser.username }new`);
await element(by.id('profile-view-username')).replaceText(`${ data.user }new`); await element(by.id('profile-view-username')).replaceText(`${ profileChangeUser.username }new`);
await sleep(1000); await sleep(1000);
await element(by.type('UIScrollView')).atIndex(1).swipe('up'); await element(by.type('UIScrollView')).atIndex(1).swipe('up');
await sleep(1000); await sleep(1000);
@ -90,10 +92,10 @@ describe('Profile screen', () => {
}); });
it('should change email and password', async() => { it('should change email and password', async() => {
await element(by.id('profile-view-email')).replaceText(`diego.mello+e2e${ data.random }test@rocket.chat`); await element(by.id('profile-view-email')).replaceText(`diego.mello+profileChangesNew${ data.random }@rocket.chat`);
await element(by.id('profile-view-new-password')).replaceText(`${ data.password }new`); await element(by.id('profile-view-new-password')).replaceText(`${ profileChangeUser.password }new`);
await element(by.id('profile-view-submit')).tap(); await element(by.id('profile-view-submit')).tap();
await element(by.type('_UIAlertControllerTextField')).replaceText(`${ data.password }`) await element(by.type('_UIAlertControllerTextField')).replaceText(`${ profileChangeUser.password }`)
// For some reason, replaceText does some type of submit, which submits the alert for us // For some reason, replaceText does some type of submit, which submits the alert for us
// await element(by.label('Save').and(by.type('_UIAlertControllerActionView'))).tap(); // await element(by.label('Save').and(by.type('_UIAlertControllerActionView'))).tap();
await waitForToast(); await waitForToast();

View File

@ -1,7 +1,6 @@
const { const {
device, expect, element, by, waitFor device, expect, element, by, waitFor
} = require('detox'); } = require('detox');
const { logout, navigateToLogin, login } = require('../../helpers/app');
describe('Settings screen', () => { describe('Settings screen', () => {
before(async() => { before(async() => {

View File

@ -2,18 +2,10 @@ const {
device, expect, element, by, waitFor device, expect, element, by, waitFor
} = require('detox'); } = require('detox');
const data = require('../../data'); const data = require('../../data');
const { tapBack, sleep, searchRoom } = require('../../helpers/app'); const { mockMessage, tapBack, sleep, searchRoom } = require('../../helpers/app');
const room = 'detox-public'; const room = 'detox-public';
async function mockMessage(message) {
await element(by.id('messagebox-input')).tap();
await element(by.id('messagebox-input')).typeText(`${ data.random }${ message }`);
await element(by.id('messagebox-send-message')).tap();
await waitFor(element(by.label(`${ data.random }${ message }`)).atIndex(0)).toExist().withTimeout(60000);
await sleep(1000);
};
async function navigateToRoom() { async function navigateToRoom() {
await sleep(2000); await sleep(2000);
await searchRoom(room); await searchRoom(room);
@ -148,8 +140,6 @@ describe('Join public room', () => {
it('should send message', async() => { it('should send message', async() => {
await mockMessage('message'); await mockMessage('message');
await expect(element(by.label(`${ data.random }message`)).atIndex(0)).toExist();
await element(by.label(`${ data.random }message`)).atIndex(0).tap();
}); });
it('should have disable notifications and leave channel', async() => { it('should have disable notifications and leave channel', async() => {

View File

@ -1,7 +1,9 @@
const detox = require('detox'); const detox = require('detox');
const config = require('../../../package.json').detox; const config = require('../../package.json').detox;
const dataSetup = require('../helpers/data_setup')
before(async() => { before(async() => {
await dataSetup()
await detox.init(config, { launchApp: false }); await detox.init(config, { launchApp: false });
await device.launchApp({ permissions: { notifications: 'YES' } }); await device.launchApp({ permissions: { notifications: 'YES' } });
}); });

View File

@ -5,6 +5,7 @@ const data = require('../../data');
describe('Onboarding', () => { describe('Onboarding', () => {
before(async() => { before(async() => {
await device.launchApp({ permissions: { notifications: 'YES' }, delete: true });
await waitFor(element(by.id('onboarding-view'))).toBeVisible().withTimeout(2000); await waitFor(element(by.id('onboarding-view'))).toBeVisible().withTimeout(2000);
}); });

View File

@ -28,7 +28,7 @@ describe('Forgot password screen', () => {
describe('Usage', async() => { describe('Usage', async() => {
it('should reset password and navigate to login', async() => { it('should reset password and navigate to login', async() => {
await element(by.id('forgot-password-view-email')).replaceText(data.existingEmail); await element(by.id('forgot-password-view-email')).replaceText(data.users.existing.email);
await element(by.id('forgot-password-view-submit')).tap(); await element(by.id('forgot-password-view-submit')).tap();
await element(by.text('OK')).tap(); await element(by.text('OK')).tap();
await waitFor(element(by.id('login-view'))).toBeVisible().withTimeout(60000); await waitFor(element(by.id('login-view'))).toBeVisible().withTimeout(60000);

View File

@ -37,6 +37,7 @@ describe('Create user screen', () => {
}); });
describe('Usage', () => { describe('Usage', () => {
// FIXME: Detox isn't able to check if it's tappable: https://github.com/wix/Detox/issues/246 // FIXME: Detox isn't able to check if it's tappable: https://github.com/wix/Detox/issues/246
// it('should submit invalid email and do nothing', async() => { // it('should submit invalid email and do nothing', async() => {
// const invalidEmail = 'invalidemail'; // const invalidEmail = 'invalidemail';
@ -48,11 +49,10 @@ describe('Create user screen', () => {
// }); // });
it('should submit email already taken and raise error', async() => { it('should submit email already taken and raise error', async() => {
const invalidEmail = 'invalidemail'; await element(by.id('register-view-name')).replaceText(data.registeringUser.username);
await element(by.id('register-view-name')).replaceText(data.user); await element(by.id('register-view-username')).replaceText(data.registeringUser.username);
await element(by.id('register-view-username')).replaceText(data.user); await element(by.id('register-view-email')).replaceText(data.users.existing.email);
await element(by.id('register-view-email')).replaceText(data.existingEmail); await element(by.id('register-view-password')).replaceText(data.registeringUser.password);
await element(by.id('register-view-password')).replaceText(data.password);
await sleep(300); await sleep(300);
await element(by.id('register-view-submit')).tap(); await element(by.id('register-view-submit')).tap();
await waitFor(element(by.text('Email already exists. [403]')).atIndex(0)).toExist().withTimeout(10000); await waitFor(element(by.text('Email already exists. [403]')).atIndex(0)).toExist().withTimeout(10000);
@ -61,11 +61,10 @@ describe('Create user screen', () => {
}); });
it('should submit username already taken and raise error', async() => { it('should submit username already taken and raise error', async() => {
const invalidEmail = 'invalidemail'; await element(by.id('register-view-name')).replaceText(data.registeringUser.username);
await element(by.id('register-view-name')).replaceText(data.user); await element(by.id('register-view-username')).replaceText(data.users.existing.username);
await element(by.id('register-view-username')).replaceText(data.existingName); await element(by.id('register-view-email')).replaceText(data.registeringUser.email);
await element(by.id('register-view-email')).replaceText(data.email); await element(by.id('register-view-password')).replaceText(data.registeringUser.password);
await element(by.id('register-view-password')).replaceText(data.password);
await sleep(300); await sleep(300);
await element(by.id('register-view-submit')).tap(); await element(by.id('register-view-submit')).tap();
await waitFor(element(by.text('Username is already in use')).atIndex(0)).toExist().withTimeout(10000); await waitFor(element(by.text('Username is already in use')).atIndex(0)).toExist().withTimeout(10000);
@ -74,10 +73,10 @@ describe('Create user screen', () => {
}); });
it('should register', async() => { it('should register', async() => {
await element(by.id('register-view-name')).replaceText(data.user); await element(by.id('register-view-name')).replaceText(data.registeringUser.username);
await element(by.id('register-view-username')).replaceText(data.user); await element(by.id('register-view-username')).replaceText(data.registeringUser.username);
await element(by.id('register-view-email')).replaceText(data.email); await element(by.id('register-view-email')).replaceText(data.registeringUser.email);
await element(by.id('register-view-password')).replaceText(data.password); await element(by.id('register-view-password')).replaceText(data.registeringUser.password);
await sleep(300); await sleep(300);
await element(by.id('register-view-submit')).tap(); await element(by.id('register-view-submit')).tap();
await waitFor(element(by.id('rooms-list-view'))).toBeVisible().withTimeout(60000); await waitFor(element(by.id('rooms-list-view'))).toBeVisible().withTimeout(60000);

View File

@ -56,8 +56,8 @@ describe('Login screen', () => {
}); });
it('should insert wrong password and get error', async() => { it('should insert wrong password and get error', async() => {
await element(by.id('login-view-email')).replaceText(data.user); await element(by.id('login-view-email')).replaceText(data.users.regular.username);
await element(by.id('login-view-password')).replaceText('error'); await element(by.id('login-view-password')).replaceText('NotMyActualPassword');
await sleep(300); await sleep(300);
await element(by.id('login-view-submit')).tap(); await element(by.id('login-view-submit')).tap();
await waitFor(element(by.text('Your credentials were rejected! Please try again.'))).toBeVisible().withTimeout(10000); await waitFor(element(by.text('Your credentials were rejected! Please try again.'))).toBeVisible().withTimeout(10000);
@ -66,7 +66,7 @@ describe('Login screen', () => {
}); });
it('should login with success', async() => { it('should login with success', async() => {
await element(by.id('login-view-password')).replaceText(data.password); await element(by.id('login-view-password')).replaceText(data.users.regular.password);
await sleep(300); await sleep(300);
await element(by.id('login-view-submit')).tap(); await element(by.id('login-view-submit')).tap();
await waitFor(element(by.id('rooms-list-view'))).toBeVisible().withTimeout(60000); await waitFor(element(by.id('rooms-list-view'))).toBeVisible().withTimeout(60000);

View File

@ -1,11 +0,0 @@
const detox = require('detox');
const config = require('../../../package.json').detox;
before(async() => {
await detox.init(config, { launchApp: false });
await device.launchApp({ permissions: { notifications: 'YES' } });
});
after(async() => {
await detox.cleanup();
});

View File

@ -2,11 +2,12 @@ const {
device, expect, element, by, waitFor device, expect, element, by, waitFor
} = require('detox'); } = require('detox');
const data = require('../../data'); const data = require('../../data');
const { tapBack, sleep, createUser } = require('../../helpers/app'); const { tapBack, sleep, navigateToLogin, login } = require('../../helpers/app');
describe('Create room screen', () => { describe('Create room screen', () => {
before(async() => { before(async() => {
await createUser(); await navigateToLogin();
await login(data.users.regular.username, data.users.regular.password);
await element(by.id('rooms-list-view-create-channel')).tap(); await element(by.id('rooms-list-view-create-channel')).tap();
await waitFor(element(by.id('new-message-view'))).toExist().withTimeout(2000); await waitFor(element(by.id('new-message-view'))).toExist().withTimeout(2000);
}); });

View File

@ -2,15 +2,7 @@ const {
device, expect, element, by, waitFor device, expect, element, by, waitFor
} = require('detox'); } = require('detox');
const data = require('../../data'); const data = require('../../data');
const { tapBack, sleep, searchRoom } = require('../../helpers/app'); const { mockMessage, tapBack, sleep, searchRoom } = require('../../helpers/app');
async function mockMessage(message) {
await element(by.id('messagebox-input')).tap();
await element(by.id('messagebox-input')).typeText(`${ data.random }${ message }`);
await element(by.id('messagebox-send-message')).tap();
await waitFor(element(by.label(`${ data.random }${ message }`)).atIndex(0)).toExist().withTimeout(60000);
await expect(element(by.label(`${ data.random }${ message }`)).atIndex(0)).toExist();
};
async function navigateToRoom() { async function navigateToRoom() {
await searchRoom(`private${ data.random }`); await searchRoom(`private${ data.random }`);
@ -121,13 +113,14 @@ describe('Room screen', () => {
}); });
it('should show and tap on user autocomplete and send mention', async() => { it('should show and tap on user autocomplete and send mention', async() => {
const username = data.users.regular.username
await element(by.id('messagebox-input')).tap(); await element(by.id('messagebox-input')).tap();
await element(by.id('messagebox-input')).typeText(`@${ data.user }`); await element(by.id('messagebox-input')).typeText(`@${ username }`);
await waitFor(element(by.id('messagebox-container'))).toExist().withTimeout(60000); await waitFor(element(by.id('messagebox-container'))).toExist().withTimeout(60000);
await expect(element(by.id('messagebox-container'))).toExist(); await expect(element(by.id('messagebox-container'))).toExist();
await sleep(1000); await sleep(1000);
await element(by.id(`mention-item-${ data.user }`)).tap(); await element(by.id(`mention-item-${ username }`)).tap();
await expect(element(by.id('messagebox-input'))).toHaveText(`@${ data.user } `); await expect(element(by.id('messagebox-input'))).toHaveText(`@${ username } `);
await element(by.id('messagebox-input')).tap(); await element(by.id('messagebox-input')).tap();
await element(by.id('messagebox-input')).typeText(`${ data.random }mention`); await element(by.id('messagebox-input')).typeText(`${ data.random }mention`);
await element(by.id('messagebox-send-message')).tap(); await element(by.id('messagebox-send-message')).tap();

View File

@ -305,6 +305,9 @@ describe('Room actions screen', () => {
describe('Channel/Group', async() => { describe('Channel/Group', async() => {
// Currently, there's no way to add more owners to the room // Currently, there's no way to add more owners to the room
// So we test only for the 'You are the last owner...' message // So we test only for the 'You are the last owner...' message
const user = data.users.alternate
it('should tap on leave channel and raise alert', async() => { it('should tap on leave channel and raise alert', async() => {
await waitFor(element(by.id('room-actions-leave-channel'))).toExist(); await waitFor(element(by.id('room-actions-leave-channel'))).toExist();
await expect(element(by.id('room-actions-leave-channel'))).toExist(); await expect(element(by.id('room-actions-leave-channel'))).toExist();
@ -322,18 +325,18 @@ describe('Room actions screen', () => {
await waitFor(element(by.id('room-actions-add-user'))).toExist(); await waitFor(element(by.id('room-actions-add-user'))).toExist();
await element(by.id('room-actions-add-user')).tap(); await element(by.id('room-actions-add-user')).tap();
await element(by.id('select-users-view-search')).tap(); await element(by.id('select-users-view-search')).tap();
await element(by.id('select-users-view-search')).replaceText(data.alternateUser); await element(by.id('select-users-view-search')).replaceText(user.username);
await waitFor(element(by.id(`select-users-view-item-${ data.alternateUser }`))).toExist().withTimeout(60000); await waitFor(element(by.id(`select-users-view-item-${ user.username }`))).toExist().withTimeout(60000);
await expect(element(by.id(`select-users-view-item-${ data.alternateUser }`))).toExist(); await expect(element(by.id(`select-users-view-item-${ user.username }`))).toExist();
await element(by.id(`select-users-view-item-${ data.alternateUser }`)).tap(); await element(by.id(`select-users-view-item-${ user.username }`)).tap();
await waitFor(element(by.id(`selected-user-${ data.alternateUser }`))).toExist().withTimeout(5000); await waitFor(element(by.id(`selected-user-${ user.username }`))).toExist().withTimeout(5000);
await expect(element(by.id(`selected-user-${ data.alternateUser }`))).toExist(); await expect(element(by.id(`selected-user-${ user.username }`))).toExist();
await element(by.id('selected-users-view-submit')).tap(); await element(by.id('selected-users-view-submit')).tap();
await waitFor(element(by.id('room-actions-view'))).toExist().withTimeout(2000); await waitFor(element(by.id('room-actions-view'))).toExist().withTimeout(2000);
await element(by.id('room-actions-members')).tap(); await element(by.id('room-actions-members')).tap();
await element(by.id('room-members-view-toggle-status')).tap(); await element(by.id('room-members-view-toggle-status')).tap();
await waitFor(element(by.id(`room-members-view-item-${ data.alternateUser }`))).toExist().withTimeout(60000); await waitFor(element(by.id(`room-members-view-item-${ user.username }`))).toExist().withTimeout(60000);
await expect(element(by.id(`room-members-view-item-${ data.alternateUser }`))).toExist(); await expect(element(by.id(`room-members-view-item-${ user.username }`))).toExist();
await backToActions(1); await backToActions(1);
}); });
@ -347,26 +350,26 @@ describe('Room actions screen', () => {
it('should show all users', async() => { it('should show all users', async() => {
await sleep(1000); await sleep(1000);
await element(by.id('room-members-view-toggle-status')).tap(); await element(by.id('room-members-view-toggle-status')).tap();
await waitFor(element(by.id(`room-members-view-item-${ data.alternateUser }`))).toExist().withTimeout(60000); await waitFor(element(by.id(`room-members-view-item-${ user.username }`))).toExist().withTimeout(60000);
await expect(element(by.id(`room-members-view-item-${ data.alternateUser }`))).toExist(); await expect(element(by.id(`room-members-view-item-${ user.username }`))).toExist();
}); });
it('should filter user', async() => { it('should filter user', async() => {
await waitFor(element(by.id(`room-members-view-item-${ data.alternateUser }`))).toExist().withTimeout(60000); await waitFor(element(by.id(`room-members-view-item-${ user.username }`))).toExist().withTimeout(60000);
await expect(element(by.id(`room-members-view-item-${ data.alternateUser }`))).toExist(); await expect(element(by.id(`room-members-view-item-${ user.username }`))).toExist();
await element(by.id('room-members-view-search')).replaceText('rocket'); await element(by.id('room-members-view-search')).replaceText('rocket');
await waitFor(element(by.id(`room-members-view-item-${ data.alternateUser }`))).toBeNotVisible().withTimeout(60000); await waitFor(element(by.id(`room-members-view-item-${ user.username }`))).toBeNotVisible().withTimeout(60000);
await expect(element(by.id(`room-members-view-item-${ data.alternateUser }`))).toBeNotVisible(); await expect(element(by.id(`room-members-view-item-${ user.username }`))).toBeNotVisible();
await element(by.id('room-members-view-search')).tap(); await element(by.id('room-members-view-search')).tap();
await element(by.id('room-members-view-search')).clearText(''); await element(by.id('room-members-view-search')).clearText('');
await waitFor(element(by.id(`room-members-view-item-${ data.alternateUser }`))).toExist().withTimeout(60000); await waitFor(element(by.id(`room-members-view-item-${ user.username }`))).toExist().withTimeout(60000);
await expect(element(by.id(`room-members-view-item-${ data.alternateUser }`))).toExist(); await expect(element(by.id(`room-members-view-item-${ user.username }`))).toExist();
}); });
// FIXME: mute/unmute isn't working // FIXME: mute/unmute isn't working
// it('should mute user', async() => { // it('should mute user', async() => {
// await sleep(1000); // await sleep(1000);
// await element(by.id(`room-members-view-item-${ data.alternateUser }`)).longPress(1500); // await element(by.id(`room-members-view-item-${ user.username }`)).longPress(1500);
// await waitFor(element(by.text('Mute'))).toExist().withTimeout(5000); // await waitFor(element(by.text('Mute'))).toExist().withTimeout(5000);
// await expect(element(by.text('Mute'))).toExist(); // await expect(element(by.text('Mute'))).toExist();
// await element(by.text('Mute')).tap(); // await element(by.text('Mute')).tap();
@ -374,7 +377,7 @@ describe('Room actions screen', () => {
// await expect(element(by.id('toast'))).toExist(); // await expect(element(by.id('toast'))).toExist();
// await waitFor(element(by.id('toast'))).toBeNotVisible().withTimeout(10000); // await waitFor(element(by.id('toast'))).toBeNotVisible().withTimeout(10000);
// await expect(element(by.id('toast'))).toBeNotVisible(); // await expect(element(by.id('toast'))).toBeNotVisible();
// await element(by.id(`room-members-view-item-${ data.alternateUser }`)).longPress(1500); // await element(by.id(`room-members-view-item-${ user.username }`)).longPress(1500);
// await waitFor(element(by.text('Unmute'))).toExist().withTimeout(2000); // await waitFor(element(by.text('Unmute'))).toExist().withTimeout(2000);
// await expect(element(by.text('Unmute'))).toExist(); // await expect(element(by.text('Unmute'))).toExist();
// await element(by.text('Unmute')).tap(); // await element(by.text('Unmute')).tap();
@ -385,12 +388,12 @@ describe('Room actions screen', () => {
// }); // });
it('should navigate to direct room', async() => { it('should navigate to direct room', async() => {
await waitFor(element(by.id(`room-members-view-item-${ data.alternateUser }`))).toExist().withTimeout(5000); await waitFor(element(by.id(`room-members-view-item-${ user.username }`))).toExist().withTimeout(5000);
await element(by.id(`room-members-view-item-${ data.alternateUser }`)).tap(); await element(by.id(`room-members-view-item-${ user.username }`)).tap();
await waitFor(element(by.id('room-view'))).toExist().withTimeout(60000); await waitFor(element(by.id('room-view'))).toExist().withTimeout(60000);
await expect(element(by.id('room-view'))).toExist(); await expect(element(by.id('room-view'))).toExist();
await waitFor(element(by.id(`room-view-title-${ data.alternateUser }`))).toExist().withTimeout(60000); await waitFor(element(by.id(`room-view-title-${ user.username }`))).toExist().withTimeout(60000);
await expect(element(by.id(`room-view-title-${ data.alternateUser }`))).toExist(); await expect(element(by.id(`room-view-title-${ user.username }`))).toExist();
await tapBack(); await tapBack();
await waitFor(element(by.id('rooms-list-view'))).toExist().withTimeout(2000); await waitFor(element(by.id('rooms-list-view'))).toExist().withTimeout(2000);
}); });

View File

@ -1,11 +0,0 @@
const detox = require('detox');
const config = require('../../../package.json').detox;
before(async() => {
await detox.init(config, { launchApp: false });
await device.launchApp({ permissions: { notifications: 'YES' } });
});
after(async() => {
await detox.cleanup();
});

View File

@ -129,6 +129,7 @@
"@storybook/react-native": "5.3.18", "@storybook/react-native": "5.3.18",
"@storybook/theming": "5.3.18", "@storybook/theming": "5.3.18",
"@types/react-native": "^0.62.7", "@types/react-native": "^0.62.7",
"axios": "^0.19.2",
"babel-core": "^6.26.3", "babel-core": "^6.26.3",
"babel-eslint": "^9.0.0", "babel-eslint": "^9.0.0",
"babel-jest": "^24.1.0", "babel-jest": "^24.1.0",
@ -136,7 +137,7 @@
"babel-runtime": "^6.26.0", "babel-runtime": "^6.26.0",
"bugsnag-sourcemaps": "1.3.0", "bugsnag-sourcemaps": "1.3.0",
"codecov": "3.6.5", "codecov": "3.6.5",
"detox": "^16.5.0", "detox": "^16.9.0",
"emotion-theming": "10.0.27", "emotion-theming": "10.0.27",
"eslint": "6.8.0", "eslint": "6.8.0",
"eslint-plugin-import": "2.20.2", "eslint-plugin-import": "2.20.2",
@ -178,6 +179,8 @@
"npm": ">=4.x" "npm": ">=4.x"
}, },
"detox": { "detox": {
"runner-config": "e2e/.mocharc.json",
"specs": "e2e/tests",
"configurations": { "configurations": {
"ios.sim.debug": { "ios.sim.debug": {
"binaryPath": "ios/build/Build/Products/Debug-iphonesimulator/RocketChatRN.app", "binaryPath": "ios/build/Build/Products/Debug-iphonesimulator/RocketChatRN.app",

View File

@ -25,7 +25,7 @@
invariant "^2.2.4" invariant "^2.2.4"
semver "^5.5.0" semver "^5.5.0"
"@babel/core@^7.0.0", "@babel/core@^7.1.0", "@babel/core@^7.4.5", "@babel/core@^7.6.2": "@babel/core@^7.0.0", "@babel/core@^7.1.0", "@babel/core@^7.6.2":
version "7.9.6" version "7.9.6"
resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.9.6.tgz#d9aa1f580abf3b2286ef40b6904d390904c63376" resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.9.6.tgz#d9aa1f580abf3b2286ef40b6904d390904c63376"
integrity sha512-nD3deLvbsApbHAHttzIssYqgb883yU/d9roe4RZymBCDaZryMJDbptVpEpeQuRh4BJ+SYI8le9YGxKvFEvl1Wg== integrity sha512-nD3deLvbsApbHAHttzIssYqgb883yU/d9roe4RZymBCDaZryMJDbptVpEpeQuRh4BJ+SYI8le9YGxKvFEvl1Wg==
@ -3225,6 +3225,13 @@ aws4@^1.8.0:
resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.9.1.tgz#7e33d8f7d449b3f673cd72deb9abdc552dbe528e" resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.9.1.tgz#7e33d8f7d449b3f673cd72deb9abdc552dbe528e"
integrity sha512-wMHVg2EOHaMRxbzgFJ9gtjOOCrI80OHLG14rxi28XwOW8ux6IiEbRCGGGqCtdAIg4FQCbW20k9RsT4y3gJlFug== integrity sha512-wMHVg2EOHaMRxbzgFJ9gtjOOCrI80OHLG14rxi28XwOW8ux6IiEbRCGGGqCtdAIg4FQCbW20k9RsT4y3gJlFug==
axios@^0.19.2:
version "0.19.2"
resolved "https://registry.yarnpkg.com/axios/-/axios-0.19.2.tgz#3ea36c5d8818d0d5f8a8a97a6d36b86cdc00cb27"
integrity sha512-fjgm5MvRHLhx+osE2xoekY70AhARk3a6hkN+3Io1jc00jtquGvxYlKlsFUhmUET0V5te6CcZI7lcv2Ym61mjHA==
dependencies:
follow-redirects "1.5.10"
axobject-query@^2.0.2: axobject-query@^2.0.2:
version "2.1.2" version "2.1.2"
resolved "https://registry.yarnpkg.com/axobject-query/-/axobject-query-2.1.2.tgz#2bdffc0371e643e5f03ba99065d5179b9ca79799" resolved "https://registry.yarnpkg.com/axobject-query/-/axobject-query-2.1.2.tgz#2bdffc0371e643e5f03ba99065d5179b9ca79799"
@ -5118,6 +5125,13 @@ debug@4, debug@^4.0.1, debug@^4.1.0, debug@^4.1.1:
dependencies: dependencies:
ms "^2.1.1" ms "^2.1.1"
debug@=3.1.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261"
integrity sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==
dependencies:
ms "2.0.0"
decamelize@^1.1.1, decamelize@^1.1.2, decamelize@^1.2.0: decamelize@^1.1.1, decamelize@^1.1.2, decamelize@^1.2.0:
version "1.2.0" version "1.2.0"
resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290"
@ -5306,16 +5320,16 @@ detect-port@^1.3.0:
address "^1.0.1" address "^1.0.1"
debug "^2.6.0" debug "^2.6.0"
detox@^16.5.0: detox@^16.9.0:
version "16.5.1" version "16.9.2"
resolved "https://registry.yarnpkg.com/detox/-/detox-16.5.1.tgz#4d2472f641c3aadaeaed4967a7c3c84dca4b0f34" resolved "https://registry.yarnpkg.com/detox/-/detox-16.9.2.tgz#3b99be3df54ef0f35ffe12d3aa87b556d00a50d3"
integrity sha512-GtNQY20r7n0Nl0u4C3vHjv9Zsp1Nw1puOHOLylqeX3WGe8V5awutIipp2ASKc7ufSn0Z8lteRoY7HGVtzpf67w== integrity sha512-yi74zL3hHFRU131B5tgZiYh0hPWvpryntllAKEpxRGRRuz+11s2+TjpuS0M02jGOdDMFBk5BzcXFGM57FWbWNA==
dependencies: dependencies:
"@babel/core" "^7.4.5"
bunyan "^1.8.12" bunyan "^1.8.12"
bunyan-debug-stream "^1.1.0" bunyan-debug-stream "^1.1.0"
chalk "^2.4.2" chalk "^2.4.2"
child-process-promise "^2.2.0" child-process-promise "^2.2.0"
find-up "^4.1.0"
fs-extra "^4.0.2" fs-extra "^4.0.2"
funpermaproxy "^1.0.1" funpermaproxy "^1.0.1"
get-port "^2.1.0" get-port "^2.1.0"
@ -5325,6 +5339,7 @@ detox@^16.5.0:
proper-lockfile "^3.0.2" proper-lockfile "^3.0.2"
sanitize-filename "^1.6.1" sanitize-filename "^1.6.1"
shell-utils "^1.0.9" shell-utils "^1.0.9"
signal-exit "^3.0.3"
tail "^2.0.0" tail "^2.0.0"
telnet-client "1.2.8" telnet-client "1.2.8"
tempfile "^2.0.0" tempfile "^2.0.0"
@ -6610,6 +6625,13 @@ focus-lock@^0.6.7:
resolved "https://registry.yarnpkg.com/focus-lock/-/focus-lock-0.6.8.tgz#61985fadfa92f02f2ee1d90bc738efaf7f3c9f46" resolved "https://registry.yarnpkg.com/focus-lock/-/focus-lock-0.6.8.tgz#61985fadfa92f02f2ee1d90bc738efaf7f3c9f46"
integrity sha512-vkHTluRCoq9FcsrldC0ulQHiyBYgVJB2CX53I8r0nTC6KnEij7Of0jpBspjt3/CuNb6fyoj3aOh9J2HgQUM0og== integrity sha512-vkHTluRCoq9FcsrldC0ulQHiyBYgVJB2CX53I8r0nTC6KnEij7Of0jpBspjt3/CuNb6fyoj3aOh9J2HgQUM0og==
follow-redirects@1.5.10:
version "1.5.10"
resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.5.10.tgz#7b7a9f9aea2fdff36786a94ff643ed07f4ff5e2a"
integrity sha512-0V5l4Cizzvqt5D44aTXbFZz+FtyXV1vrDN6qrelxtfYQKW0KO0W2T/hkE8xvGa/540LkZlkaUjO4ailYTFtHVQ==
dependencies:
debug "=3.1.0"
for-in@^1.0.1, for-in@^1.0.2: for-in@^1.0.1, for-in@^1.0.2:
version "1.0.2" version "1.0.2"
resolved "https://registry.yarnpkg.com/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80" resolved "https://registry.yarnpkg.com/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80"
@ -13052,7 +13074,7 @@ side-channel@^1.0.2:
es-abstract "^1.17.0-next.1" es-abstract "^1.17.0-next.1"
object-inspect "^1.7.0" object-inspect "^1.7.0"
signal-exit@^3.0.0, signal-exit@^3.0.2: signal-exit@^3.0.0, signal-exit@^3.0.2, signal-exit@^3.0.3:
version "3.0.3" version "3.0.3"
resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.3.tgz#a1410c2edd8f077b08b4e253c8eacfcaf057461c" resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.3.tgz#a1410c2edd8f077b08b4e253c8eacfcaf057461c"
integrity sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA== integrity sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==