You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Neither handler checks permissions beyond module access (which core now enforces for dosql):
do_holiday_aed.php with target=calendar changes the company holiday/working-day list.
do_holiday_aed.php with target=user and any user_id changes another user's vacations. The page only hides the user picker from non-admins.
do_holiday_settings_aed.php rewrites the system-widecal_working_days, cal_day_start and cal_day_end, plus the holiday settings. The tab is hidden unless canEdit('system'), but the handler doesn't check.
Fix: require canEdit('system') for company and settings changes; for user vacations, allow only your own user_id unless the user can edit users/admin.
Activity