a1dert/lh-tickets-test — Issue #368: If more users can approve a holiday, only the one who approved/denied the holiday can see it in history and change its status
Author: a1dert
Created: 2011-11-30 12:09:19+00:00
State: open

Imported from lighthouse. Original ticket at: http://redtape.lighthouseapp.com/projects/59696/tickets/129. Created by Adina Moldovan - 2011-01-03T13:16:02Z

Issue:
Suppose more than 2 user permissions are set to be able to approve holidays requests.
Is one user approves/rejects a holiday request, the other users can see the holiday request anymore even if (s)he tags all holidays, periods and teams, including all options of approved, rejected and pending)

I think this feature is important when not all the people who approve holidays have the same opinion on accepting/rejecting the holiday.

Steps to reproduce:
1. Login as admin
2. Settings -> Holiday settings: tick more than 2 user permissions to approve holidays (e.g all ckeckboxes)
3. Logout

4. Login as an employee and request a holiday
5. Logout

6. Login as one user permission and approve/reject the holiday request
7. Logout

8. Login as another user permission who can approve the holiday and filter the holidays in order to see all of them (all holidays, periods and teams, including all options of approved, rejected and pending)

Expected outcome:
At step 8, I can see the previously approved/rejected holiday request, as the user permission is set to be able to approve/reject the holidays requests. Even if the holiday has been approved/rejected, the user can see it (in case he/she has a different answer than the already given one)