Skip to content
Snippets Groups Projects

Follow-up from "Hide `New subgroup` button if visibility is restricted"

All threads resolved!
  • Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA

What does this MR do and why?

Extract the logic for the allowed levels from the group policy to the visibility level. This brings more simplicity to the group policy.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

How to set up and validate locally

This change should be purely refactoring, but you can check if the button to create a subgroup is behaving as usual.

Related to #455557 (closed)

Edited by Matias Alvarez

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
  • Thanks @MAlvarez32 I left a few comments for your concideration :bow:

  • Tetiana Chupryna changed milestone to %17.2

    changed milestone to %17.2

  • added 1 commit

    • 63c178e5 - Apply review comments to improve specs

    Compare with previous version

  • Christina Lohr changed milestone to %17.3

    changed milestone to %17.3

  • added 1 commit

    • b6e3f658 - Adapt specs to four-phase test paradigm

    Compare with previous version

  • Tetiana Chupryna
  • added 1 commit

    • 86f89dfd - Stub settings to return different visibility levels

    Compare with previous version

  • Tetiana Chupryna resolved all threads

    resolved all threads

  • Tetiana Chupryna approved this merge request

    approved this merge request

  • added pipelinetier-3 label and removed pipelinetier-2 label

  • Tetiana Chupryna enabled automatic add to merge train when checks pass

    enabled automatic add to merge train when checks pass

  • A deleted user added backend label

    added backend label

  • 1 Message
    :book: CHANGELOG missing:

    If this merge request needs a changelog entry, add the Changelog trailer to the commit message you want to add to the changelog.

    If this merge request doesn't need a CHANGELOG entry, feel free to ignore this message.

    Reviewer roulette

    Category Reviewer Maintainer
    backend @bauerdominic profile link current availability (UTC+2) @rzwambag profile link current availability (UTC+2)
    groupauthorization Reviewer review is optional for groupauthorization @alexbuijs profile link current availability (UTC+2)

    Please refer to documentation page for guidance on how you can benefit from the Reviewer Roulette, or use the GitLab Review Workload Dashboard to find other available reviewers.

    If needed, you can retry the :repeat: danger-review job that generated this comment.

    Generated by :no_entry_sign: Danger

  • E2E Test Result Summary

    allure-report-publisher generated test report!

    e2e-test-on-gdk: :white_check_mark: test report for 86f89dfd

    expand test summary
    +------------------------------------------------------------------+
    |                          suites summary                          |
    +-------------+--------+--------+---------+-------+-------+--------+
    |             | passed | failed | skipped | flaky | total | result |
    +-------------+--------+--------+---------+-------+-------+--------+
    | Create      | 127    | 0      | 12      | 0     | 139   | ✅     |
    | Verify      | 43     | 0      | 2       | 0     | 45    | ✅     |
    | Manage      | 0      | 0      | 1       | 0     | 1     | ➖     |
    | Plan        | 66     | 0      | 3       | 0     | 69    | ✅     |
    | Data Stores | 30     | 0      | 1       | 0     | 31    | ✅     |
    | Package     | 19     | 0      | 12      | 0     | 31    | ✅     |
    | Analytics   | 2      | 0      | 0       | 0     | 2     | ✅     |
    | Govern      | 69     | 0      | 0       | 0     | 69    | ✅     |
    | Secure      | 1      | 0      | 0       | 0     | 1     | ✅     |
    | Release     | 5      | 0      | 0       | 0     | 5     | ✅     |
    | Monitor     | 8      | 0      | 0       | 0     | 8     | ✅     |
    | Fulfillment | 1      | 0      | 0       | 0     | 1     | ✅     |
    +-------------+--------+--------+---------+-------+-------+--------+
    | Total       | 371    | 0      | 31      | 0     | 402   | ✅     |
    +-------------+--------+--------+---------+-------+-------+--------+

    e2e-package-and-test: :x: test report for 86f89dfd

    expand test summary
    +---------------------------------------------------------------------+
    |                           suites summary                            |
    +----------------+--------+--------+---------+-------+-------+--------+
    |                | passed | failed | skipped | flaky | total | result |
    +----------------+--------+--------+---------+-------+-------+--------+
    | Govern         | 105    | 0      | 8       | 2     | 113   | ✅     |
    | Manage         | 29     | 1      | 15      | 2     | 45    | ❌     |
    | Package        | 31     | 0      | 14      | 7     | 45    | ✅     |
    | Systems        | 7      | 0      | 0       | 0     | 7     | ✅     |
    | Verify         | 50     | 1      | 15      | 2     | 66    | ❌     |
    | Plan           | 79     | 0      | 12      | 0     | 91    | ✅     |
    | Create         | 417    | 0      | 51      | 9     | 468   | ✅     |
    | Monitor        | 12     | 0      | 13      | 0     | 25    | ✅     |
    | Fulfillment    | 4      | 0      | 7       | 0     | 11    | ✅     |
    | Data Stores    | 46     | 0      | 11      | 0     | 57    | ✅     |
    | GitLab Metrics | 2      | 0      | 1       | 0     | 3     | ✅     |
    | Analytics      | 3      | 0      | 0       | 0     | 3     | ✅     |
    | Configure      | 1      | 0      | 3       | 0     | 4     | ✅     |
    | Ai-powered     | 1      | 0      | 2       | 0     | 3     | ✅     |
    | Release        | 5      | 0      | 1       | 0     | 6     | ✅     |
    | Secure         | 4      | 0      | 2       | 0     | 6     | ✅     |
    | Growth         | 0      | 0      | 2       | 0     | 2     | ➖     |
    | ModelOps       | 0      | 0      | 1       | 0     | 1     | ➖     |
    +----------------+--------+--------+---------+-------+-------+--------+
    | Total          | 796    | 2      | 158     | 22    | 956   | ❌     |
    +----------------+--------+--------+---------+-------+-------+--------+
  • Tetiana Chupryna started a merge train

    started a merge train

  • @MAlvarez32, how was your code review experience with this merge request? Please tell us how we can continue to iterate and improve:

    1. React with a :thumbsup: or a :thumbsdown: on this comment to describe your experience.
    2. Create a new comment starting with @gitlab-bot feedback below, and leave any additional feedback you have for us in the comment.

    Subscribe to the GitLab Community Newsletter for contributor-focused content and opportunities to level up.

    Thanks for your help! :heart:

    This message was generated automatically. You're welcome to improve it.

  • mentioned in commit 54b6d582

  • added workflowstaging label and removed workflowcanary label

  • mentioned in issue #455557 (closed)

  • Please register or sign in to reply
    Loading