Skip to content
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

Log/Enforce repository permissions #14

Open
bastelfreak opened this issue Jun 30, 2019 · 1 comment
Open

Log/Enforce repository permissions #14

bastelfreak opened this issue Jun 30, 2019 · 1 comment
Labels
backend/enforcer Updates are performed on Github objects backend/notifier User gets notified via mail, hook, comment... enhancement New feature or request

Comments

@bastelfreak
Copy link
Member

The default permissions for our org are read only for repositories. Our collaborators group gets write access to modules. From time to time, this gets misconfigured or people forget about it after a migration to us. This is something that should be logged / fixed on a regular basis (or can we get notifications for it?). If it got changed it would be nice if we could figure out who did it.

@bastelfreak bastelfreak added the enhancement New feature or request label Jun 30, 2019
@Flipez Flipez added backend/enforcer Updates are performed on Github objects backend/notifier User gets notified via mail, hook, comment... enhancement New feature or request and removed enhancement New feature or request labels Sep 21, 2019
@bastelfreak
Copy link
Member Author

GitHub allows us to configure multiple things in a repository:

Besides the permissions, there are some other things we need to do:

  • homepage => https://forge.puppet.com/$forgeuser/modulename
  • has_issues => true
  • has_projects => true
  • has_wiki => true
  • default_branch => 'master'
  • allow_squash_merge => true
  • allow_merge_commit => true
  • allow_rebase_merge => true
  • delete_branch_on_merge => true

where the last option,delete_branch_on_merge, is the most important one. It's currently false on most repos but should be true.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend/enforcer Updates are performed on Github objects backend/notifier User gets notified via mail, hook, comment... enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants