def post(self): ret = self.check_privilege(TP_PRIVILEGE_AUDIT_AUZ) if ret != TPE_OK: return err = audit.build_auz_map() self.write_json(err)
def post(self): ret = self.check_privilege(TP_PRIVILEGE_OPS_AUZ) if ret != TPE_OK: return err = audit.build_auz_map() self.write_json(err)