mirror of
https://git.victorphan.net/basketballcantho/Teedy_custom.git
synced 2026-08-06 14:13:11 +07:00
#497: fix npe in unauthenticated cases
This commit is contained in:
@@ -128,6 +128,9 @@ public class AclDao {
|
|||||||
if (SecurityUtil.skipAclCheck(targetIdList)) {
|
if (SecurityUtil.skipAclCheck(targetIdList)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
if (targetIdList.isEmpty()) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
EntityManager em = ThreadLocalContext.get().getEntityManager();
|
EntityManager em = ThreadLocalContext.get().getEntityManager();
|
||||||
StringBuilder sb = new StringBuilder("select a.ACL_ID_C from T_ACL a ");
|
StringBuilder sb = new StringBuilder("select a.ACL_ID_C from T_ACL a ");
|
||||||
|
|||||||
Reference in New Issue
Block a user