commit
This commit is contained in:
+1
-1
@@ -61,7 +61,7 @@ public class TeacherCongressCommonController {
|
|||||||
Cnd cnd = Cnd.NEW();
|
Cnd cnd = Cnd.NEW();
|
||||||
cnd.and("sessionId", "=", sessionId);
|
cnd.and("sessionId", "=", sessionId);
|
||||||
|
|
||||||
if (AuthUtil.hasRole(RoleConstant.TEACHER_CONGRESS_DELEGATION_CONTACT.name())) {
|
if (!AuthUtil.hasRole(RoleConstant.SYSADMIN.name())&&!AuthUtil.hasRole(RoleConstant.SCHOOL_UNION_ADMIN.name())) {
|
||||||
cnd.and("delegationId", "=", delegationId);
|
cnd.and("delegationId", "=", delegationId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user