CyberCraftInc / vacation_system

Cyber Craft Vacation System
0 stars 0 forks source link

Cannot approve or decline vacatio request #143

Open eleidan opened 8 years ago

eleidan commented 8 years ago

As a user I want to be sure that any actions provided to me work properly.

There may be the following situation:

  1. I am a manager of team A.
  2. Another user is a member of team A.
  3. The user requests a vacation.
  4. Another user with admin role revokes my manager role in team A.
  5. I visit /#dashboard page and see the vacation request in Requests To Approve panel.
  6. 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.