Skip to content

GitLab

  • Menu
    • Projects Groups Snippets
      Help
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
  • !3443

Closed
Created 12 years ago by Administrator@rootOwner
  • Report abuse
Report abuse

API: admin users can sudo commands as other users

  • Overview 6
  • Commits 4
  • Changes 3

Created by: karlhungus

-Specifying a header of SUDO or adding a :sudo with either user id, or username of the user will set the current_user to be that user if your identifying private_token/PRIVATE_TOKEN is an administrator token

-I'll remove my previous PR (https://github.com/gitlabhq/gitlabhq/pull/3260) as this does it and is more generally useful way

Loading
Loading

  • Administrator
    Administrator @root · 12 years ago
    Owner

    Created by: coveralls

    Coverage decreased (-12.23%) when pulling 8e2ccce6 on karlhungus:api_sudo into 21191318 on gitlabhq:master.

    View Details

    By Administrator on 2013-03-28T19:42:10 (imported from GitLab project)

  • Administrator
    Administrator @root · 12 years ago
    Owner

    Created by: karlhungus

    Forgot the API Docs update

    By Administrator on 2013-03-28T20:14:49 (imported from GitLab project)

  • Administrator
    Administrator @root · 12 years ago
    Owner

    Created by: coveralls

    Coverage remained the same when pulling 0a815a6c on karlhungus:api_sudo into 21191318 on gitlabhq:master.

    View Details

    By Administrator on 2013-03-28T20:28:09 (imported from GitLab project)

  • Administrator
    Administrator @root · 12 years ago
    Owner

    Created by: coveralls

    Coverage decreased (-12.23%) when pulling 5e513a83 on karlhungus:api_sudo into 21191318 on gitlabhq:master.

    View Details

    By Administrator on 2013-03-28T21:36:22 (imported from GitLab project)

  • Administrator
    Administrator @root · 12 years ago
    Owner

    Created by: coveralls

    Coverage remained the same when pulling f893adbc on karlhungus:api_sudo into 21191318 on gitlabhq:master.

    View Details

    By Administrator on 2013-04-03T15:35:36 (imported from GitLab project)

  • Administrator
    Administrator @root · 12 years ago
    Owner

    Created by: karlhungus

    Closing this to squash my commits, contribution guide

    By Administrator on 2013-04-05T13:30:07 (imported from GitLab project)

  • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
Please register or sign in to reply
0 Assignees
None
Assign to
0 Reviewers
None
Request review from
Milestone
No milestone
None
None
Time tracking
No estimate or time spent
0
Labels
None
Assign labels
  • No matching results
  • Manage project labels
Lock merge request
Unlocked
1
1 participant
user avatar
Reference: gpt/large_projects/gitlabhq1!3443
Source branch: github/fork/karlhungus/api_sudo

    0 pending comments

Menu

Projects Groups Snippets
Help