阅览权限岗位和部门取并集
This commit is contained in:
parent
3351d6daff
commit
432e000c40
@ -3931,7 +3931,7 @@ public class PALRepositoryQueryAPIManager {
|
|||||||
}
|
}
|
||||||
// 职级为空时
|
// 职级为空时
|
||||||
} else if (UtilString.isNotEmpty(orgPerm) && UtilString.isNotEmpty(postPerm) && UtilString.isEmpty(levelPerm)) {
|
} else if (UtilString.isNotEmpty(orgPerm) && UtilString.isNotEmpty(postPerm) && UtilString.isEmpty(levelPerm)) {
|
||||||
if (getOrgPerm(orgPerm, uc) && getPostPerm(postPerm, uc)) {
|
if (getOrgPerm(orgPerm, uc) || getPostPerm(postPerm, uc)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
// 岗位为空时
|
// 岗位为空时
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user