edx/edx-platform — pull request #4065 by jrbl (2014-06-11 21:33:19+00:00)
Title: Stanford-only: fix anonymous access with the grade me button

Deny self-service certificates for anonymous users

Bugfix for the following condition:
When anonymous (e.g., non-registered) access is enabled for a course, and that course also uses the /request_certificate endpoint (e.g., via the "Grade Me" button), anonymous users could request to be graded and given certificates.

As a matter of policy, Stanford doesn't want to give certificates to anonymous students.

This will probably need to be tested on stage before merge.

@jbau plz