Skip to content
Discussion options

You must be logged in to vote

No, the default Maintain role does not allow a user to create or edit repository rulesets. Managing rulesets is a sensitive permission reserved strictly for the Admin role.

In enterprise environments, granting full Admin access to a regular developer just to manage rulesets is considered a security risk, as it also allows them to delete or transfer the repository.

Since you have a GitHub Enterprise license, the common and best practice here is to create a Custom Repository Role:

  1. Go to your Organization settings -> Repository roles -> Create a role.
  2. Base the role on the Write or Maintain permission level.
  3. Check the specific fine-grained permission box for "Edit repository rules".
  4. Assign t…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Rod-at-DOH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
other General topics and discussions that don't fit into other categories, but are related to GitHub Enterprise Discussions related to GitHub Enterprise Cloud, Enterprise Server and Organizations Question Ask and answer questions about GitHub features and usage Enterprise Admin Topics specifically related to GitHub Enterprise administration source:ui Discussions created via Community GitHub templates
2 participants