main
is_smart_action_authorized?
def is_smart_action_authorized?(user, collection, parameters, endpoint, http_method)