1. 08 9月, 2017 1 次提交
  2. 03 8月, 2017 1 次提交
  3. 15 6月, 2017 1 次提交
    • T
      Subgroups page should show groups authorized through inheritance · ef1811f4
      Toon Claes 提交于
      When a user is authorized to a group, they are also authorized to see all the
      ancestor groups and descendant groups.
      
      When a user is authorized to a project, they are authorized to see all the
      ancestor groups too.
      
      Closes #32135
      
      See merge request !11764
      ef1811f4
  4. 20 5月, 2017 1 次提交
    • M
      Refactor to more robust implementation · 49697bc8
      Michael Kozono 提交于
      In order to avoid string manipulation or modify route params (to make them unambiguous for `url_for`), we are accepting a behavior change:
      
      When being redirected to the canonical path for a group, if you requested a group show path starting with `/groups/…` then you’ll now be redirected to the group at root `/…`.
      49697bc8
  5. 19 5月, 2017 2 次提交
  6. 18 5月, 2017 1 次提交
  7. 12 5月, 2017 1 次提交
  8. 11 5月, 2017 1 次提交
  9. 10 5月, 2017 1 次提交
  10. 06 5月, 2017 4 次提交
  11. 26 1月, 2017 1 次提交
  12. 21 12月, 2016 2 次提交
  13. 16 8月, 2016 1 次提交
  14. 12 8月, 2016 1 次提交
    • S
      Fix bug where destroying a namespace would not always destroy projects · cb8a425b
      Stan Hu 提交于
      There is a race condition in DestroyGroupService now that projects are deleted asynchronously:
      
      1. User attempts to delete group
      2. DestroyGroupService iterates through all projects and schedules a Sidekiq job to delete each Project
      3. DestroyGroupService destroys the Group, leaving all its projects without a namespace
      4. Projects::DestroyService runs later but the can?(current_user,
         :remove_project) is `false` because the user no longer has permission to
         destroy projects with no namespace.
      5. This leaves the project in pending_delete state with no namespace/group.
      
      Projects without a namespace or group also adds another problem: it's not possible to destroy the container
      registry tags, since container_registry_path_with_namespace is the wrong value.
      
      The fix is to destroy the group asynchronously and to run execute directly on Projects::DestroyService.
      
      Closes #17893
      cb8a425b
  15. 01 6月, 2016 1 次提交
  16. 06 5月, 2016 1 次提交
  17. 22 3月, 2016 1 次提交
  18. 21 3月, 2016 1 次提交
  19. 10 3月, 2016 2 次提交
  20. 24 1月, 2016 1 次提交
    • R
      Make the `/groups` route behave as expected · a7c4d0da
      Robert Speicher 提交于
      The route is supposed to redirect the Groups#index request based on
      whether or not a user was logged in. If they are, we redirect them to
      their groups dashboard; if they're not, we redirect them to the public
      Explore page.
      
      But due to overly aggressive `before_action`s that weren't excluding the
      `index` action, the request always resulted in a 404, whether a user was
      logged in or not.
      
      Closes #12660
      a7c4d0da