--- title: 'API: Memoize the current_user so that sudo can work properly' merge_request: 8017 author: