is_permission_required function added to outpass model