1. 05 10月, 2016 3 次提交
    • S
      Fix project deletion when feature visibility is set to private · fea80aa1
      Stan Hu 提交于
      Projects that are destroyed are put in the pending_delete state.
      The ProjectDestroyWorker checks whether the current user has
      access, but since the ProjectFeature class uses the default scope
      of the Project, it will not be able to find the right project.
      
      This was a regression in 8.12 that caused the following stack trace:
      
      ```
      NoMethodError: undefined method `team' for nil:NilClass
        from app/models/project_feature.rb:62:in `get_permission'
        from app/models/project_feature.rb:34:in `feature_available?'
        from app/models/project.rb:21:in `feature_available?'
        from app/policies/project_policy.rb:170:in `disabled_features!'
        from app/policies/project_policy.rb:29:in `rules'
        from app/policies/base_policy.rb:82:in `block in abilities'
        from app/policies/base_policy.rb:113:in `collect_rules'
        from app/policies/base_policy.rb:82:in `abilities'
        from app/policies/base_policy.rb:50:in `abilities'
        from app/models/ability.rb:64:in `uncached_allowed'
        from app/models/ability.rb:58:in `allowed'
        from app/models/ability.rb:49:in `allowed?'
        from app/services/base_service.rb:11:in `can?'
        from lib/gitlab/metrics/instrumentation.rb:155:in `block in can?'
        from lib/gitlab/metrics/method_call.rb:23:in `measure'
        from lib/gitlab/metrics/instrumentation.rb:155:in `can?'
        from app/services/projects/destroy_service.rb:18:in `execute'
      ```
      
      Closes #22948
      fea80aa1
    • R
      Fix section name for 8.12.2 version. · 1097a4a6
      Ruben Davila 提交于
      1097a4a6
    • D
      Update CHANGELOG · 0bb7bfd0
      Douglas Barbosa Alexandre 提交于
      0bb7bfd0
  2. 04 10月, 2016 7 次提交
  3. 03 10月, 2016 12 次提交
  4. 02 10月, 2016 3 次提交
  5. 01 10月, 2016 6 次提交
  6. 30 9月, 2016 9 次提交