-
Notifications
You must be signed in to change notification settings - Fork 10.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FIX] Uncessary updates on Settings, Roles and Permissions on startup #17160
Conversation
# Conflicts: # app/settings/client/lib/settings.ts # app/settings/lib/settings.ts # app/settings/server/functions/settings.ts
f5dec1a
to
9bbf059
Compare
This pull request introduces 1 alert when merging 9bbf059 into ff8017a - view on LGTM.com new alerts:
|
This pull request introduces 1 alert when merging dd6932a into ff8017a - view on LGTM.com new alerts:
|
6a05633
to
dde16b0
Compare
}, { fields: { _id: 1 } }); | ||
|
||
if (!existent) { | ||
Permissions.upsert({ _id: permissionId }, { $set: permission }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
insert?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The permission may exist with different properties
why not use the rocketchat version to check if should reprocess, only process the settings if we upgraded rocket.chat? |
Maybe a good idea and a later improvement. But without this improvement as well it will reprocess all the settings again on each upgrade. |
This pull request introduces 1 alert when merging c1e1f85 into c05eac5 - view on LGTM.com new alerts:
|
…n-refactor * 'develop' of github.com:RocketChat/Rocket.Chat: Allow to filter omnichannel analytics dashboards per departments. (#17463) [FIX] Uncessary updates on Settings, Roles and Permissions on startup (#17160) [NEW] Add the ability to send Livechat offline messages to a channel (#17442) [FIX] Federation attachment URL for audio and video files (#16430) [NEW] Add Livechat website URL to the offline message e-mail (#17429)
…/new-threads * 'develop' of github.com:RocketChat/Rocket.Chat: (42 commits) [FIX] Invalid CSS syntax (#17541) [NEW] Rewrite admin pages (#17388) [FIX] Replace postcss Meteor package (#15929) [FIX] Increasing highlight time in 3 seconds (#17540) [IMPROVE] Add new webhooks to the Omnichannel integration feature (#17503) [BREAK] Remove deprecated Omnichannel Knowledge Base feature (#17387) [FIX] Reactions may present empty names of who reacted when using Real Names (#17536) Allow to filter omnichannel analytics dashboards per departments. (#17463) [FIX] Uncessary updates on Settings, Roles and Permissions on startup (#17160) [NEW] Add the ability to send Livechat offline messages to a channel (#17442) [FIX] Federation attachment URL for audio and video files (#16430) [NEW] Add Livechat website URL to the offline message e-mail (#17429) LingoHub based on develop (#17520) RegExp improvements suggested by LGTM (#17500) [FIX] Replace obsolete X-FRAME-OPTIONS header on Livechat route (#17419) [FIX] LDAP login error on Enterprise version (#17497) [IMPROVE] [Apps-Engine] App user as the default notifier (#17050) [NEW] [Apps-Engine] New Livechat event handlers (#17033) [FIX] Change email verification label (#17450) Priority system messages were always created (#17479) ...
…to integrations * 'admin-refactor' of github.com:RocketChat/Rocket.Chat: fix all paddings and mixed content between screens (#17538) [IMPROVE] Add new webhooks to the Omnichannel integration feature (#17503) [BREAK] Remove deprecated Omnichannel Knowledge Base feature (#17387) [FIX] Reactions may present empty names of who reacted when using Real Names (#17536) [IMPROVE] Custom sounds refactor (#17485) Allow to filter omnichannel analytics dashboards per departments. (#17463) [FIX] Uncessary updates on Settings, Roles and Permissions on startup (#17160) [NEW] Add the ability to send Livechat offline messages to a channel (#17442) [FIX] Federation attachment URL for audio and video files (#16430) [NEW] Add Livechat website URL to the offline message e-mail (#17429)
* 'develop' of github.com:RocketChat/Rocket.Chat: Regression: Fix Avatar Url Provider when CDN_PREFIX_ALL is false (#17542) [FIX] Invalid CSS syntax (#17541) [NEW] Rewrite admin pages (#17388) [FIX] Replace postcss Meteor package (#15929) [FIX] Increasing highlight time in 3 seconds (#17540) [IMPROVE] Add new webhooks to the Omnichannel integration feature (#17503) [BREAK] Remove deprecated Omnichannel Knowledge Base feature (#17387) [FIX] Reactions may present empty names of who reacted when using Real Names (#17536) Allow to filter omnichannel analytics dashboards per departments. (#17463) [FIX] Uncessary updates on Settings, Roles and Permissions on startup (#17160) [NEW] Add the ability to send Livechat offline messages to a channel (#17442) [FIX] Federation attachment URL for audio and video files (#16430) [NEW] Add Livechat website URL to the offline message e-mail (#17429) LingoHub based on develop (#17520) RegExp improvements suggested by LGTM (#17500) [FIX] Replace obsolete X-FRAME-OPTIONS header on Livechat route (#17419) [FIX] LDAP login error on Enterprise version (#17497)
No description provided.