def 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,
                              csv_template=("hrm", "skill"),
                              csv_stylesheet=("hrm", "skill.xsl"),
                              )

# -----------------------------------------------------------------------------
Skills Controller
dataset/ETHPy150Open sahana/eden/controllers/vol.py/skill