def certificate_skill():

    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)

# -----------------------------------------------------------------------------
Certificates to Skills Controller
dataset/ETHPy150Open sahana/eden/controllers/vol.py/certificate_skill