Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copilots can't set themselves as assignee and copilot *before* activation #1580

Open
jmgasper opened this issue Nov 10, 2023 · 1 comment
Open

Comments

@jmgasper
Copy link
Collaborator

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

@suppermancool - We're seeing an issue with the latest change that is causing a problem in prod.

Expectation:

Copilots should be able to create a draft challenge with themselves as the assignee and copilot. If they are the assignee, the should not be allowed to activate or close the task.

If the task is active, but assigned to someone else, the copilot should not be able to assign it to themselves.

Currently:

In dev, login with TCConnCopilot, and attempt to create a new draft task with the copilot set to TCConnCopilot, and assignee set to TCConnCopilot with a payment of $1 for the copilot and the task prize.

You will see an error that says Please select a copilot, even though the copilot is set:

SCR-20231110-shvh
@suppermancool
Copy link
Collaborator

suppermancool commented Nov 10, 2023

@jmgasper done in work-manager-issue-1580.patch (this patch against commit c0c393d in develop branch)

Actually, the fix in the below email caused that issue. The Save Draft button only shows before activation, but the requirement in that email is hiding Save Draft for Copilot assign themselves as assignee

Screenshot 2023-11-10 at 18 38 41

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants