Skip to content

MM Submission Tab - Improvements #3374

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

Open
bountyC0d3r opened this issue Oct 10, 2019 · 2 comments
Open

MM Submission Tab - Improvements #3374

bountyC0d3r opened this issue Oct 10, 2019 · 2 comments
Assignees

Comments

@bountyC0d3r
Copy link

  1. member handle color coding
  2. allow admin to view the additional details even though he is not registered to the challenge
  3. in the console log, if I’m not registered, it throws a 500 and a raw text response of Cannot read property 'userDetails' of undefined - instead of throwing a 401 and a json payload
  4. Speed-up loading submissions
@ThomasKranitsas
Copy link
Contributor

@dushyantb req.2 should be already implemented:

if (!_.intersection(userRoles, ADMIN_USER_ROLES).length) {
userRoles = await getUserRolesInChallenge(req, submission.challengeId);
normalizeSubmission(submission, userRoles);
}

Regarding the error on req.3, where exactly is the error thrown?

@bountyC0d3r
Copy link
Author

@ThomasKranitsas nope, req.2 is not working though code suggests that it is working.

  • Regarding req.3 I'll confirm

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