As a user I want to be sure that any actions provided to me work properly.
There may be the following situation:
I am a manager of team A.
Another user is a member of team A.
The user requests a vacation.
Another user with admin role revokes my manager role in team A.
I visit /#dashboard page and see the vacation request in Requests To Approve panel.
I click on Accept or Decline and get error message that tells that I am not allowed to do that.
As an option, all the vacation requests assigned to me should be shown, and if I have no permission to approve or decline, I should see no action buttons.
As a user I want to be sure that any actions provided to me work properly.
There may be the following situation:
admin
role revokes mymanager
role in team A.Requests To Approve
panel.Accept
orDecline
and get error message that tells that I am not allowed to do that.As an option, all the vacation requests assigned to me should be shown, and if I have no permission to approve or decline, I should see no action buttons.