def course_certificate():

    mode = session.s3.hrm.mode
    def prep(r):
        if mode is not None:
            auth.permission.fail()
        return True
    s3.prep = prep

    return s3_rest_controller("hrm", resourcename)

# -----------------------------------------------------------------------------
Set the email address of the delegated user.
dataset/ETHPy150Open sahana/eden/controllers/vol.py/course_certificate--crossover with--dataset/ETHPy150Open acil-bwh/SlicerCIP/Scripted/attic/PicasaSnap/gdata/apps/emailsettings/data.py/EmailSettingsDelegation.SetAddress