allow admin to by pass clerk list filtering
Some checks failed
Build and Push Backend / docker (push) Failing after 5s
Some checks failed
Build and Push Backend / docker (push) Failing after 5s
This commit is contained in:
@@ -135,7 +135,7 @@ public class PlayPersonnelGroupInfoServiceImpl
|
||||
List<String> idList;
|
||||
Set<String> roleKeys = loginUser != null && loginUser.getRoles() != null ? loginUser.getRoles()
|
||||
: Collections.emptySet();
|
||||
boolean hasOperatorRole = TenantRoleEnum.contains(roleKeys, TenantRoleEnum.OPERATOR);
|
||||
boolean hasOperatorRole = TenantRoleEnum.hasOperatorPrivilege(roleKeys);
|
||||
PlayPersonnelGroupInfoEntity groupInfoEntity = null;
|
||||
if (!hasOperatorRole && loginUser != null) {
|
||||
groupInfoEntity = this.selectByUserId(loginUser.getUserId());
|
||||
|
||||
Reference in New Issue
Block a user