Skip to content
Snippets Groups Projects

Update sharing and permissions section

Merged Mike Jang requested to merge mjang-sharing-permissions-a into master
All threads resolved!

What does this MR do?

Updates the description for project settings, what you see in a repo when you select Settings > General. The current doc is shown in today's version of https://docs.gitlab.com/ee/user/project/settings/#sharing-and-permissions .

I created this MR based on the following issue: #39492 (closed)

In this MR, I've

  • Reduced the coverage of the screenshot (it covered too much info and risks becoming out of date with every UI change)
  • Included a table that explains the functionality of each option
  • Explained interactions between options, below the table.

Screenshots

Most of the change is built in these screenshots:

Screenshot_from_2019-12-18_10-24-03Screenshot_from_2019-12-18_10-24-14

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Note: there are test failures that I think are unrelated to docs:

  • compile-assets-pull-cache
  • compile-assets-pull-cache-foss
  • gitlab:assets:compile pull-cache

I'd appreciate advice on how to omit these jobs from the MR pipeline.

Edited by 🤖 GitLab Bot 🤖

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
  • Mike Jang changed the description

    changed the description

  • Mike Jang unmarked as a Work In Progress

    unmarked as a Work In Progress

  • unassigned @mjang1

  • Mike Jang added 1 commit

    added 1 commit

    • 5e717d10 - Update sharing and permissions section

    Compare with previous version

  • Marcel Amirault resolved all threads

    resolved all threads

  • Marcel Amirault
    • Resolved by Mike Jang

      @mjang1 I love the style, it's far superior to what we had before! I will probably be applying this myself to a few settings pages I have on the back burner.

      I made several suggestions that are mostly just fiddly bits related to GitLab Docs styling, or attempts at simplification, etc.

      I have two additional points:

      • When linking to internal docs, be sure to use .md and not .html. There are a few links in your MR that need to be updated.
      • In the table you use a variety of vocabulary, like allows, enables, and supports. Do you think it's possible to be more standardized here? With toggles, I'm a big fan of enable, and I find allow and support to be the lesser choices in cases like this.
  • assigned to @mjang1 and unassigned @marcel.amirault

  • added docsimprovement label and removed workflowproduction label

  • Mike Jang added 1 commit

    added 1 commit

    • 441770f8 - Apply suggestion to doc/user/project/settings/index.md

    Compare with previous version

  • Mike Jang added 1 commit

    added 1 commit

    • 2c3a5110 - Apply suggestion to doc/user/project/settings/index.md

    Compare with previous version

  • Mike Jang added 1 commit

    added 1 commit

    • 382d7d0a - Update sharing and permissions section

    Compare with previous version

  • Mike Jang added 1 commit

    added 1 commit

    • d1ed0174 - Apply suggestion to doc/user/project/settings/index.md

    Compare with previous version

  • Mike Jang added 1 commit

    added 1 commit

    • 8c45607d - Apply suggestion to doc/user/project/settings/index.md

    Compare with previous version

  • Mike Jang added 1 commit

    added 1 commit

    • 54a4edb8 - Update sharing and permissions section

    Compare with previous version

  • Mike Jang added 1 commit

    added 1 commit

    • 74ef6724 - Update sharing and permissions section

    Compare with previous version

  • Mike Jang added 1 commit

    added 1 commit

    • c2fc7888 - Apply suggestion to doc/user/project/settings/index.md

    Compare with previous version

  • Mike Jang added 1 commit

    added 1 commit

    • 7c0cf7e7 - Update sharing and permissions section

    Compare with previous version

  • Mike Jang added 1 commit

    added 1 commit

    • b6d9ce2d - Update sharing and permissions section

    Compare with previous version

  • Mike Jang added 1 commit

    added 1 commit

    • 61ac406f - Update sharing and permissions section

    Compare with previous version

  • Mike Jang added 1 commit

    added 1 commit

    • e1a45eec - Apply suggestion to doc/user/project/settings/index.md

    Compare with previous version

  • Mike Jang added 1 commit

    added 1 commit

    • 8a2ef227 - Apply suggestion to doc/user/project/settings/index.md

    Compare with previous version

  • Mike Jang added 1 commit

    added 1 commit

    • 75dc90b7 - Apply suggestion to doc/user/project/settings/index.md

    Compare with previous version

  • Mike Jang added 1 commit

    added 1 commit

    • 1c90496d - Update sharing and permissions section

    Compare with previous version

  • Mike Jang added 1 commit

    added 1 commit

    • 1eb8d335 - Update sharing and permissions section

    Compare with previous version

  • Mike Jang resolved all threads

    resolved all threads

  • Mike Jang assigned to @marcel.amirault and unassigned @mjang1

    assigned to @marcel.amirault and unassigned @mjang1

  • Mike Jang added 1 commit

    added 1 commit

    • 4d3cfcdc - Update sharing and permissions section

    Compare with previous version

    • Resolved by Mike Jang

      @mjang1 I think it's looking great, I'm just not sold on the overall ordering. I also have a few points to add, but I found it hard to add in-line comments that reflected my ordering thoughts clearly.

      As an experiment, I decided to try something I've been meaning to try as an experiment (that might be a terrible idea, but it's worth a shot):

      I made a code snippet showing the ordering that I thought might work better, along with a screenshot of how it renders, at marcel.amirault/test-project$1924052.

      Some of the things it shows:

      • Table padded so everything lines up
      • Possibility of having the descriptions be the far right column in the table
      • The NOTE: spaced to align with the bullet list above, to embed it into the list.
      • Project visibility, request access and email notifications taken out of the table.
        • Project visibility becomes an intro of sorts, and can be associated with the Warning note, which is moved up from below the table.
        • Request access becomes a short addition to the intro.
        • Email notifications sits by itself, but in it's own section. (This may be the worst idea, but it allows me to have the table be entirely "switch" content.
      Edited by Marcel Amirault
  • assigned to @mjang1 and unassigned @marcel.amirault

  • Mike Jang added 580 commits

    added 580 commits

    Compare with previous version

  • Mike Jang added 1 commit

    added 1 commit

    • afcd9f9a - Update sharing and permissions section

    Compare with previous version

  • Mike Jang resolved all threads

    resolved all threads

  • Mike Jang added 1 commit

    added 1 commit

    • 48da7307 - Update sharing and permissions section

    Compare with previous version

  • Mike Jang assigned to @marcel.amirault and unassigned @mjang1

    assigned to @marcel.amirault and unassigned @mjang1

  • Author Contributor

    If you're OK with my changes, please feel free to merge. Happy holidays!

  • Mike Jang added 1 commit

    added 1 commit

    • 7e29e5b4 - Update sharing and permissions section

    Compare with previous version

  • Mike Jang
  • Marcel Amirault approved this merge request

    approved this merge request

  • @mjang1 Yes, looks good! Sorry for the weird review, I was having a weird day. :bow:

    It's essentially ready to merge, just need to clear out that merge conflict (a rebase will fix it), and while you are at it, could you also pull sharing_and_permissions_settings_v12_6.png out of the MR? Now that we aren't using the image on the page anymore, we don't need it in the MR either. :pray:

  • assigned to @mjang1 and unassigned @marcel.amirault

  • Mike Jang added 338 commits

    added 338 commits

    Compare with previous version

  • Mike Jang added 1 commit

    added 1 commit

    • 8d951f35 - Update sharing and permissions section

    Compare with previous version

  • Mike Jang resolved all threads

    resolved all threads

  • Author Contributor

    Thanks for your help on this @marcel.amirault ! I've deleted the now unused image, rebased, and as you can see, the tests now pass. I think this is ready to merge.

  • @mjang1 Great work! Sorry it took so long, thanks for being patient! I'm going to do something similar to another settings page, and I'll assign it to you for the first review, if I ever find the time to finish it up :grin:

    :rocket:

  • Marcel Amirault mentioned in commit ff30cda5

    mentioned in commit ff30cda5

  • mentioned in commit 7816adee

  • 🤖 GitLab Bot 🤖 changed the description

    changed the description

  • Please register or sign in to reply
    Loading