Skip to content

[$75] Copilot does not have access to challenge forum #88

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

Closed
sdgun opened this issue Oct 31, 2020 · 8 comments
Closed

[$75] Copilot does not have access to challenge forum #88

sdgun opened this issue Oct 31, 2020 · 8 comments

Comments

@sdgun
Copy link
Collaborator

sdgun commented Oct 31, 2020

Steps
Log in to Vanilla app as Copilot(TCConnCopilot)
Search for a group whish he is copiloting(ex-Forum testing)
Click on discussion in the search results

Actual result
No permission for copilot, but if he registers to the challenge, he can see the forum

Expected result
Copilot should have access to the challenge forum in which he is the copilot, without having to register to the challenge

Issue 2 - copilot issue.zip

@sdgun sdgun added bug Something isn't working Dev env P1 labels Oct 31, 2020
@jmgasper jmgasper changed the title Copilot does not have access to challenge forum [$75] Copilot does not have access to challenge forum Oct 31, 2020
@jmgasper
Copy link
Collaborator

@atelomycterus - This should be part of the challenge forum processor - the copilot should be given access to the group.

@jmgasper
Copy link
Collaborator

Contest https://www.topcoder.com/challenges/30148040 has been created for this ticket.

This is an automated message for ghostar via Topcoder X

@jmgasper
Copy link
Collaborator

Contest https://www.topcoder.com/challenges/30148040 has been updated - it has been assigned to obog.

This is an automated message for ghostar via Topcoder X

@atelomycterus
Copy link
Collaborator

@jmgasper Need your help with that. I guess I should use https://api.topcoder-dev.com/v5/projects/projectId to get a list of copilots.

The list of copilots might be changed in https://connect.topcoder-dev.com/ Should we process a specific event when a copilot is added/removed to/from a project?

Or should we check a list of copilots while processing ‘challenge.notification.create’ and other events?

Please correct me if I am wrong

@jmgasper
Copy link
Collaborator

jmgasper commented Nov 2, 2020

@atelomycterus - I think we can just check the list of copilots while processing the challenge.notification.create event.

@atelomycterus
Copy link
Collaborator

atelomycterus commented Nov 4, 2020

@jmgasper Implemented. All copilots are added to a group.
Please grant a challenge forum processor a permission to get a project before testing. With generated M2M token:
image

So I tested with a personal TonyJ token:
image

image

@sandhiyakavi
Copy link
Collaborator

Verified. Able to access the Challenge Forum without Registration

image

@jmgasper
Copy link
Collaborator

jmgasper commented Nov 9, 2020

Payment task has been updated: https://software.topcoder.com/review/actions/ViewProjectDetails?pid=30148040

This is an automated message for ghostar via Topcoder X

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

No branches or pull requests

4 participants