Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Merge requests
  • !6274

Merged
Created Feb 08, 2014 by Administrator@rootOwner

User can leave group from group page.

  • Overview 32
  • Commits 1
  • Changes 23

Created by: cirosantilli

Fixes ACCEPTING MERGE/PULL REQUESTS at http://feedback.gitlab.com/forums/176466-general/suggestions/5323575-allow-people-to-leave-a-group

Screenshot:

screenshot from 2014-02-08 14 36 15

Implementation notes

Moved some of the "who can remove who from a group" logic from templates into new functions of users_groups model.

Tests:

  • named the user and the groups. This led to mass refactoring of the group tests, but what was tested in all the existing tests was kept.
  • merged create group, which had a single test, into the group tests.
  • moved group test out of group directory since there is a single file now.
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: github/fork/booktree/leave-group-from-members-page