add event beginAt/endAt
This commit is contained in:
@@ -148,7 +148,7 @@ function canRegistrationEvent(action: RegistrationEvent, item: GaoUser): boolean
|
||||
const userRoleCodeSet = buildEffectiveRoleCodeSet(item, permissionStore.roleList);
|
||||
const roleCodeList = action.roleCodeList || [];
|
||||
if (!roleCodeList.length) {
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
return roleCodeList.some(code => userRoleCodeSet.has(code));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user