def skill_provision():
 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)

def skill_provision ( ) : 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 )
skill provisions controller .