topcoder-platform / work-manager

This is the frontend application for creating and managing challenges.
13 stars 48 forks source link

Prevent copilots from activating or launching task assigned to themselves #1568

Closed jmgasper closed 1 year ago

jmgasper commented 1 year ago

REF: https://topcoder.atlassian.net/browse/PROD-4364

Description

For tracking and correctness reasons, we are going to stop copilots from paying themselves.

Current flow

The current flow is:

New flow

The new flow will be:

This will ensure a review of each task that goes to a copilot for payment.

Work manager change

In work manager, we just want to make sure that the Launch and Mark as completed buttons are hidden for tasks that are assigned to the current logged in user, if that user has the copilot role.