Content-Length: 255044 | pFad | http://github.com/lowcoder-org/lowcoder/commit/806428b901b3787b1d9dda77d34f5b54d28af4a7

83 Remove superadmin from deletion of all org members and group members · lowcoder-org/lowcoder@806428b · GitHub
Skip to content

Commit 806428b

Browse files
dragonpooludomikula
authored andcommitted
Remove superadmin from deletion of all org members and group members
1 parent 3ad5240 commit 806428b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

server/api-service/lowcoder-infra/src/main/java/org/lowcoder/infra/birelation/BiRelationServiceImpl.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ public Mono<Boolean> removeAllBiRelations(BiRelationBizType bizType, String sour
132132
Query query = new Query();
133133
query.addCriteria(where(BIZ_TYPE).is(bizType));
134134
query.addCriteria(where(SOURCE_ID).is(sourceId));
135+
query.addCriteria(where(RELATION).is("super_admin").not());
135136
return mongoUpsertHelper.remove(query, BiRelation.class);
136137
}
137138

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/lowcoder-org/lowcoder/commit/806428b901b3787b1d9dda77d34f5b54d28af4a7

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy