mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
remove unsetting deniedPermissions
This commit is contained in:
@@ -691,7 +691,7 @@ export const backfillPermission = async () => {
|
||||
$exists: true,
|
||||
$ne: []
|
||||
},
|
||||
role: MEMBER
|
||||
role: MEMBER,
|
||||
})
|
||||
.populate<{ workspace: IWorkspace }>("workspace")
|
||||
.lean();
|
||||
@@ -753,9 +753,6 @@ export const backfillPermission = async () => {
|
||||
$set: {
|
||||
role: CUSTOM,
|
||||
customRole: role
|
||||
},
|
||||
$unset: {
|
||||
deniedPermissions: 1
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user