-
Notifications
You must be signed in to change notification settings - Fork 60.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Style guide for access, permission, role names and its usage unclear #31686
Comments
@janbrasna Thank you for opening this issue, as well as providing additional context on this issue alongside the other PR you opened! ✨ I'll get this triaged for review 💛 |
Thanks for opening an issue! We've triaged this issue for technical review by a subject matter expert 👀 |
Hi @janbrasna, thanks for asking this question and opening an issue to clear up this confusing part of the style guide. The definition is misleading here and the terms should not be capitalized or use quotation marks. The examples like
are the proper style. I reviewed the rest of the style guide to make sure that there aren't other examples like this that use quotation marks to introduce terms that don't need them and it looks like this is the only one. Removing the quotation marks and making the terms lower case in the permissions section should make this more clear 😄 . You or anyone else is welcome to open a pull request to make these changes! |
@ethanpalm Thanks for the info. I'll look into it, just need a bit guidance here if possible:
Also relevant from Style guide and content model: https://docs.github.com/en/contributing/style-guide-and-content-model/contents-of-a-github-docs-article#how-to-write-a-permissions-statement |
This comment was marked as spam.
This comment was marked as spam.
@janbrasna Great questions. With all the different options for access, permissions, and roles, there are a lot of challenges to accurately and clearly write about these terms.
I agree using "the write access" sounds incorrect. This would be a good additional example in the style guide of what to avoid after the first similar example.
It looks like this specific article has several list items that could be rewritten to be more clear and closer to our style guide. And I think you're right that the definite article is what's causing a lot of confusion in that particular line. The first item:
Since these roles are at different levels (repository-level and organization-level), they should be separate list items. It is confusing to have them together since we wouldn't do that elsewhere in the Docs 😅 . The second item:
This should be rewritten like you suggested to get rid of the definite article. We might also be able to rewrite it like "People with write access to the repository" since that would include all the repository level roles (admin, maintain, write, and custom roles). I'd want to first confirm that this is what actually allows bypass access since I'm not the most knowledgeable on this feature, but based on who can get bypass access, it looks like it's controlled through write access. And your English is fantastic 😄 I appreciate all the questions you are asking to help make things more clear and improve the Docs overall. |
Hi @ethanpalm! :) I created a pull request for this issue. It's #31898. So far I added the avoid example like you suggested, and I'm not sure what else to put. Can you help me? |
Hi @CBID2, thanks for creating and linking a PR. I'll give it a review and any follow up comments there, but from a quick look I think you took care of everything that's needed ✨. This issue thread got a bit confusing since we're discussing both the style guide and another file. |
Code of Conduct
What article on docs.github.com is affected?
https://docs.github.com/en/contributing/style-guide-and-content-model/style-guide#permissions
What part(s) of the article would you like to see updated?
The chapter defines role usage in caps & quoted:
yet the examples below don't use any of that:
Trying to follow the Style guide, I'd be tempted to use:
Is there a clear style to follow? I'd like to adhere in PRs as much as possible.
Additional information
The text was updated successfully, but these errors were encountered: