Skip to content
GitLab
Next
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • GitLab GitLab
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 44,767
    • Issues 44,767
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1,329
    • Merge requests 1,329
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.orgGitLab.org
  • GitLabGitLab
  • Issues
  • #18242
Closed
Open
Issue created May 22, 2017 by Kamil Trzciński@ayufan🔴Maintainer

Admin account should have an option to escalate permissions

It was proposed here: https://gitlab.com/gitlab-org/gitlab-ce/issues/31564 and later raised here: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/11398#note_30351325.

And we had a good discussion with @DouweM about it.

It seems that our permission model for Admin accounts is very open, where admins are a special type of accounts.

Currently, admin account does have access to whole GitLab and is especially susceptible to any attacks that are targeted on admins.

Maybe we should consider changing how Admin accounts do work? If we would make Admin accounts to behave as regular accounts but have an option to escalate permissions on-demand, instead of being as default this would allow us to slightly simplify the architecture of our permission model, but also increase the security of GitLab.

This could work by requiring the admin to do the operation similar to sudo, where he has to confirm that operation with password/2FA. In regular use, the admin would be a regular account.

@stanhu @briann @victorwu @DouweM What do you think?

Assignee
Assign to
Time tracking