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
@hopsor Did you really manage to change a vacation request? I do see the buttons "Accept" and "Reject" but as soon as I confirm the popup nothing happens because currently there's already the following check in the VacationRequestsController: before_action :check_admin_user, only: [:approve, :reject]
For usability reasons one could hide or disable the buttons but at least I don't see a security issue with this.
Right now a regular user (not admin) is able to edit the vacation request from another user. This should be forbidden in the backend.
Was this an intended behavior @javiercr ?
The text was updated successfully, but these errors were encountered: