• I
    API: admin users can sudo commands as other users · e86e8818
    Izaak Alpert 提交于
    -Specifying a header of SUDO or adding a :sudo with either user id, or username of the user will set the current_user to be that user if your identifying private_token/PRIVATE_TOKEN is an administrator token
    e86e8818
api_helpers_spec.rb 4.7 KB