autolab / Autolab

Course management service that enables auto-graded programming assignments.
http://www.autolabproject.com/
Apache License 2.0
752 stars 214 forks source link

Mandatory nicknames #196

Closed droh closed 9 years ago

droh commented 9 years ago

If a user without a nickname visits the site, they should be forced to give themselves a nickname. This was how the previous autolab system worked, but somehow this behavior disappeared in the new system.

dlbucci commented 9 years ago

What is the reason for this? I removed this check when I rewrote some CUD editing logic, but I don't see why users can't leave their nickname blank.

droh commented 9 years ago

If users don't have nicknames, then it messes up the scoreboards.

-- David O'Hallaron -- Prof of CS and ECE, Carnegie Mellon University -- GHC 7517, x8-8199 -- http://www.cs.cmu.edu/~droh

On Tue, Jan 27, 2015 at 3:02 PM, Daniel Bucci notifications@github.com wrote:

What is the reason for this? I removed this check when I rewrote some CUD editing logic, but I don't see why users can't leave their nickname blank.

— Reply to this email directly or view it on GitHub https://github.com/autolab/Autolab/issues/196#issuecomment-71717354.

jez commented 9 years ago

Is this still an issue?

icanb commented 9 years ago

I think so. We should enforce users to have nicknames if the assessment has scoreboard module. Perhaps redirect them to a set nickname page?

icanb commented 9 years ago

At some point we'll also want to collect things like public keys. So maybe we can have a fill your information page where we ask for all the required info?

jez commented 9 years ago

We already have that page, and I'm pretty sure we already have this check:

https://github.com/autolab/Autolab/blob/master/app/controllers/application_controller.rb#L217

jez commented 9 years ago

If there's an issue, it might just be that we need to check that condition in more places?

jez commented 9 years ago

@autolab/developers I think this is fixed now, right?

icanb commented 9 years ago

Yes, it's fixed.