docs icon indicating copy to clipboard operation
docs copied to clipboard

Permissions required to change secrets are inconsistent

Open jyasskin opened this issue 1 year ago • 2 comments
trafficstars

Code of Conduct

What article on docs.github.com is affected?

  • https://docs.github.com/en/organizations/managing-user-access-to-your-organizations-repositories/managing-repository-roles/repository-roles-for-an-organization#permissions-for-each-role:~:text=Create%2C%20update%2C%20and%20delete%20GitHub%20Actions%20secrets
  • https://docs.github.com/en/actions/security-guides/using-secrets-in-github-actions#creating-secrets-for-a-repository

What part(s) of the article would you like to see updated?

The Repository roles for an organization document says that participants with write access can "Create, update, and delete GitHub Actions secrets", but the Using secrets in GitHub Actions document says "you must have admin access."

I believe admin is correct, although it might be maintain.

Additional information

No response

jyasskin avatar Feb 27 '24 17:02 jyasskin

Thanks for opening this issue. A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines.

welcome[bot] avatar Feb 27 '24 17:02 welcome[bot]

@jyasskin Thank you for raising this issue! I'll get this triaged for review :sparkles: Our team will provide feedback regarding the best next steps for this issue - thanks for your patience! 💛

nguyenalex836 avatar Feb 27 '24 18:02 nguyenalex836

Hey @jyasskin! Great catch. We just fixed the table of permissions for Create, update, and delete [GitHub Actions secrets](https://docs.github.com/en/actions/security-guides/using-secrets-in-github-actions) with a pull request last week.

The table now shows that you need admin access, which is consistent with "Using secrets in GitHub Actions"

I'll go ahead and close this out. Feel free to re-open if we need to make different updates.

jc-clark avatar Mar 11 '24 18:03 jc-clark