Skip to content
Snippets Groups Projects

Fix group bot token name in REST API and GraphQL

Merged Serena Fang requested to merge group-token-name-visibility into master

What does this MR do and why?

Describe in detail what your merge request does and why.

With https://gitlab.com/gitlab-org/security/gitlab/-/merge_requests/1993, group access token names became hidden from the REST API and GraphQL queries for all users.

This MR introduces an additional check so that users who can read_group can now read group bot names. This includes guests+ in a private group, and all users including non-members in a public group.

Before:

image image

After:

image image

Screenshots or screen recordings

These are strongly recommended to assist reviewers and reduce the time to merge your change.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Serena Fang

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Serena Fang added 1 commit

    added 1 commit

    Compare with previous version

  • Serena Fang mentioned in merge request !81951 (closed)

    mentioned in merge request !81951 (closed)

  • Allure report

    allure-report-publisher generated test report for 17b99900!

    review-qa-reliable: :pencil: test report
    review-qa-smoke: :pencil: test report

  • Manoj M J
  • Serena Fang added 1 commit

    added 1 commit

    • 9c2a684e - Move secure name method to HasUserType

    Compare with previous version

  • A deleted user added typebug label

    added typebug label

  • Manoj M J approved this merge request

    approved this merge request

  • Manoj M J removed review request for @manojmj

    removed review request for @manojmj

  • :wave: @manojmj, thanks for approving this merge request.

    This is the first time the merge request is approved. To ensure full test coverage, a new pipeline has been started.

    For more info, please refer to the following links:

  • Reviewer roulette

    Changes that require review have been detected!

    Please refer to the table below for assigning reviewers and maintainers suggested by Danger in the specified category:

    Category Reviewer Maintainer
    backend Allison Browne (@allison.browne) (UTC-5, 1 hour ahead of @serenafang) Max Woolf (@mwoolf) (UTC+0, 6 hours ahead of @serenafang)

    To spread load more evenly across eligible reviewers, Danger has picked a candidate for each review slot, based on their timezone. Feel free to override these selections if you think someone else would be better-suited or use the GitLab Review Workload Dashboard to find other available reviewers.

    To read more on how to use the reviewer roulette, please take a look at the Engineering workflow and code review guidelines. Please consider assigning a reviewer or maintainer who is a domain expert in the area of the merge request.

    Once you've decided who will review this merge request, assign them as a reviewer! Danger does not automatically notify them for you.

    Generated by :no_entry_sign: Danger

  • Serena Fang added 1 commit

    added 1 commit

    Compare with previous version

  • Serena Fang requested review from @manojmj

    requested review from @manojmj

  • Manoj M J changed milestone to %14.9

    changed milestone to %14.9

  • Manoj M J requested review from @dbalexandre and removed review request for @manojmj

    requested review from @dbalexandre and removed review request for @manojmj

  • removed review request for @dbalexandre

  • Serena Fang resolved all threads

    resolved all threads

  • Serena Fang added 1 commit

    added 1 commit

    • a0858e25 - Apply maintainer suggestions

    Compare with previous version

  • Serena Fang requested review from @dbalexandre

    requested review from @dbalexandre

  • added 1588 commits

    Compare with previous version

  • Douglas Barbosa Alexandre approved this merge request

    approved this merge request

  • resolved all threads

  • Douglas Barbosa Alexandre enabled an automatic merge when the pipeline for 738ce710 succeeds

    enabled an automatic merge when the pipeline for 738ce710 succeeds

  • Thanks, @serenafang! This LGTM :thumbsup: I rebased on top of master and set MWPS :rocket:

  • mentioned in commit 55cad6a2

  • added workflowcanary label and removed workflowstaging label

  • added workflowproduction label and removed workflowcanary label

  • Dylan Griffith mentioned in merge request !81472 (merged)

    mentioned in merge request !81472 (merged)

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading