Skip to content
Snippets Groups Projects
  1. Mar 23, 2020
  2. Mar 10, 2020
  3. Feb 17, 2020
  4. Jan 22, 2020
  5. Sep 25, 2019
    • Aakriti Gupta's avatar
      Pick only those groups that the viewing user has access to, · 506bf428
      Aakriti Gupta authored and mksionek's avatar mksionek committed
      in a project members' list. Add tests for possible scenarios
      
      Re-factor and remove N + 1 queries
      
      Remove author from changelog
      
      Don't use memoisation when not needed
      
      Include users part of parents of project's group
      
      Re-factor tests
      
      Create and add users according to roles
      
      Re-use group created earlier
      
      Add incomplete test for ancestoral groups
      
      Rename method to clarify category of groups
      
      Skip pending test, remove comments not needed
      
      Remove extra line
      
      Include ancestors from invited groups as well
      
      Add specs for participants service
      
      Add more specs
      
      Add more specs
      
      use  instead of
      
      Use public group owner instead of project maintainer to test owner acess
      
      Remove tests that have now been moved into participants_service_spec
      
      Use :context instead of :all
      
      Create nested group instead of creating an ancestor separately
      
      Add comment explaining doubt on the failing spec
      
      Imrpove test setup
      
      Optimize sql queries
      
      Refactor specs file
      
      Add rubocop disablement
      
      Add special case for project owners
      
      Add small refactor
      
      Add explanation to the docs
      
      Fix wording
      
      Refactor group check
      
      Add small changes in specs
      
      Add cr remarks
      
      Add cr remarks
      
      Add specs
      
      Add small refactor
      
      Add code review remarks
      
      Refactor for better database usage
      
      Fix failing spec
      
      Remove rubocop offences
      
      Add cr remarks
      506bf428
  6. Sep 13, 2019
  7. Sep 02, 2019
  8. Aug 09, 2019
  9. Aug 05, 2019
  10. May 27, 2019
    • Jacopo's avatar
      Removes duplicated members from api/projects/:id/members/all · a9827e0e
      Jacopo authored
      When using the members/all api the same user was returned multiple times
      when he was a member of the project/group and also of one of the
      ancestor groups.
      Now the member is returned only once giving priority to the membership
      on the project and maintaining the same behaviour of the members UI.
      a9827e0e
  11. Apr 30, 2019
    • Stan Hu's avatar
      Allow a member to have an access level equal to parent group · 32ddc3fe
      Stan Hu authored
      Suppose you have this configuration:
      
      1. Subgroup `hello/world`
      2. Subgroup `hello/mergers`.
      3. Project `hello/world/my-project` has invited group `hello/world` to
      access protected branches.
      4. The rule allows the group to merge but no one can push.
      5. User `newuser` has Owner access to the parent group `hello`.
      
      Previously, there was no way for the user `newuser` to be added to the
      `hello/mergers` group since the validation only allowed a user to be
      added at a higher access level.
      
      Since membership in a subgroup confers certain access rights, such as
      being able to merge or push code to protected branches, we have to
      loosen the validation and allow someone to be added at an equal level
      granted by the parent group.
      
      Closes https://gitlab.com/gitlab-org/gitlab-ee/issues/11323
      32ddc3fe
  12. Mar 28, 2019
  13. Mar 05, 2019
  14. Jan 31, 2019
  15. Jan 25, 2019
  16. Jan 24, 2019
  17. Jan 23, 2019
    • Jan Provaznik's avatar
      Sent notification only to authorized users · 022f60e8
      Jan Provaznik authored
      When moving a project, it's possible that some users who had
      access to the project in old path can not access the project
      in the new path.
      
      Because `project_authorizations` records are updated asynchronously,
      when we send the notification about moved project the list of project
      team members contains old project members, we want to notify all these
      members except the old users who can not access the new location.
      022f60e8
  18. Dec 06, 2018
  19. Nov 15, 2018
    • Yorick Peterse's avatar
      Refactor Member#add_user for GitLab EE · 0aa386f7
      Yorick Peterse authored
      GitLab EE extends Member#add_user by adding some LDAP specific flags.
      Prior to these changes, the only way this could be done was by modifying
      Member#add_user in place. This could lead to merge conflicts whenever a
      developer wants to change this method.
      
      To resolve this issue, the logic that EE extends has been moved into a
      separate method with the appropriate arguments. This allows EE to extend
      the logic by prepending the method using an EE specific module.
      Unverified
      0aa386f7
  20. Sep 11, 2018
  21. Aug 21, 2018
  22. Jul 26, 2018
  23. Jul 11, 2018
  24. May 10, 2018
  25. Apr 04, 2018
  26. Mar 21, 2018
  27. Mar 11, 2018
  28. Mar 07, 2018
  29. Feb 27, 2018
  30. Feb 14, 2018
  31. Dec 11, 2017
    • TM Lee's avatar
      Refactor member view by using presenter · 2cf3fc18
      TM Lee authored
      
      - Create MemberPresenter alongside with GroupMemberPresenter and ProjectMemberPresenter
      - Make Member model Presentable
      - Move action_member_permission from MembersHelper into the MemberPresenter
      - Added rspec using double, separate specs for GroupMemberPresenter and ProjectMemberPresenter
      
      Fixes #28004.
      
      Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
      2cf3fc18
  32. Dec 05, 2017
  33. Sep 05, 2017
    • Rubén Dávila's avatar
      Optimize SQL queries used in Groups::GroupMembersController#create · 66cfb901
      Rubén Dávila authored
      The following optimizations were performed:
      
      - Add new association to GroupMember and ProjectMember
      
        This new association will allow us to check if a user is a member of a
        Project or Group through a single query instead of two.
      
      - Optimize retrieving of Members when adding multiple Users
      66cfb901
  34. Aug 14, 2017
  35. Aug 11, 2017
  36. Jun 21, 2017
Loading