Skip to content

GitLab Next

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
GitLab FOSS
GitLab FOSS
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 0
    • Merge Requests 0
  • Requirements
    • Requirements
    • List
  • Security & Compliance
    • Security & Compliance
    • Dependency List
    • License Compliance
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • GitLab.org
  • GitLab FOSSGitLab FOSS
  • Issues
  • #53553

Closed (moved)
Open
Opened Nov 05, 2018 by Antony Saba@asaba🚨

Read and write User "Admin notes" via API

Problem to solve

"Admin notes" on a user are not readable or writable via API.

Further details

The current, most efficient to communicate about user account status and actions between a large administrative team is using the "Admin notes" associated with a user.

When doing bulk user blocks at the scale of GitLab.com, it is prohibitive to use the UI to add/edit the note for each user. This should be accomplishable via the API.

Proposal

Add "user_admin_notes" to the fields available to an admin for reading and writing through the "/users/" endpoint.

The naming is odd because it is just :note on a User, but called "Admin notes" in the UI.

Security and Permissions

user_admin_notes must only be available to admin users. It must be filtered out of the results for GET /api/v4/users for any non-admin user.

What does success look like, and how can we measure that?

Decreased response times for support and security when working with blocked or otherwise admin modified accounts since more history of the actions will be available.

Links / references

Most recent slack thread (GitLab internal only): https://gitlab.slack.com/archives/C248YCNCW/p1541440608153300

Edited Jul 11, 2019 by Antony Saba
Assignee
Assign to
12.2
Milestone
12.2 (Past due)
Assign milestone
Time tracking
None
Due date
None
Reference: gitlab-org/gitlab-foss#53553