Merge branch 'heads/main' into daniel/request-ids

This commit is contained in:
Daniel Hougaard
2024-11-23 00:14:50 +04:00
56 changed files with 1361 additions and 128 deletions
+9
View File
@@ -54,3 +54,12 @@ export const isAtLeastAsPrivileged = (permissions1: MongoAbility, permissions2:
return set1.size >= set2.size;
};
export enum PermissionConditionOperators {
$IN = "$in",
$ALL = "$all",
$REGEX = "$regex",
$EQ = "$eq",
$NEQ = "$ne",
$GLOB = "$glob"
}