countly-server icon indicating copy to clipboard operation
countly-server copied to clipboard

[WIP] [SUP-3] [core] Create remove member old permission script

Open widatama opened this issue 2 years ago • 1 comments

widatama avatar Aug 10 '22 08:08 widatama

Hello, maybe stupid question, but why it could not have been just updateMany({ permission: { $exists: true } }, {$unset:{user_of:1, admin_of:1}) kind of thing?

ar2rsawseen avatar Aug 12 '22 14:08 ar2rsawseen

This pull request introduces 1 alert when merging 34eb73d6c3fbff7e67d31c4b6c453b5441fc75a0 into 5e784b21b5f286aab9bc6f5b626b920b732ed77b - view on LGTM.com

new alerts:

  • 1 for Unused variable, import, function or class

lgtm-com[bot] avatar Aug 12 '22 15:08 lgtm-com[bot]

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication

sonarqubecloud[bot] avatar Aug 12 '22 15:08 sonarqubecloud[bot]