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
  • !1651

Merged
Created Oct 08, 2012 by Administrator@rootOwner

Do not allow removal of a project owner user.

  • Overview 3
  • Commits 1
  • Changes 1

Created by: dosire

If a user owns a project it should not be possible to delete the user. Doing so will cause the project to have no owner and lead to errors. The user should be blocked instead.

This fixes the following bug:

  1. Make a user.
  2. Make a project as this user (user is the owner of the project).
  3. Delete the user.
  4. Try to delete the project => NoMethodError because it the user is nil and it can't find its name.
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: github/fork/dosire/user_can_be_removed_if_its_not_a_project_owner