1. 30 6月, 2017 1 次提交
    • T
      Implement review comments for !12445 from @godfat and @rymai. · 3c88a786
      Timothy Andrew 提交于
      - Use `GlobalPolicy` to authorize the users that a non-authenticated user can
        fetch from `/api/v4/users`. We allow access if the `Gitlab::VisibilityLevel::PUBLIC`
        visibility level is not restricted.
      
      - Further, as before, `/api/v4/users` is only accessible to unauthenticated users if
        the `username` parameter is passed.
      
      - Turn off `authenticate!` for the `/api/v4/users` endpoint by matching on the actual
        route + method, rather than the description.
      
      - Change the type of `current_user` check in `UsersFinder` to be more
        compatible with EE.
      3c88a786
  2. 12 4月, 2017 1 次提交
  3. 10 3月, 2017 1 次提交
  4. 23 2月, 2017 1 次提交
  5. 18 1月, 2017 2 次提交
  6. 31 8月, 2016 11 次提交