자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
def enable_hook(self, id): if cherrypy.session.get("usertype", "user") == "admin": return API.enable_hook(id) else: return json.dumps({"error": "User not authorized for this request"})