Managing Maintainer and Committer Permissions Across the Foreman Ecosystem

RFC: Managing Maintainer and Committer Permissions Across the Foreman Ecosystem

Proposal

The Foreman handbook currently states that committers who are inactive for one year may be removed from the committers list and have their permissions revoked. However, the actual practice has been more ad hoc.

As the Foreman ecosystem grows, it would be useful to have a consistent, transparent process for granting, reviewing, pausing, and restoring permissions across its projects.

The goals are to reduce unnecessary access and supply-chain security risks, set clear expectations for maintainers, and make it easy for contributors to return after a period of inactivity.

Reviewing and removing permissions

A periodic review of maintainer and committer access could help identify accounts that no longer need elevated permissions.

One proposal is to consider three months without meaningful activity as a trigger for reviewing merge permissions. This would be a review threshold, not necessarily an automatic removal rule.

A possible process:

  1. Review activity across the relevant repositories and projects.

  2. Contact the contributor to confirm whether they intend to remain active.

  3. Allow a reasonable response period before removing permissions, where circumstances permit.

  4. If there is no response or intention to continue maintaining the project, revoke unnecessary permissions while preserving the person’s contribution history and recognition.

  5. Restore permissions promptly if the contributor returns and access is still appropriate.

The review frequency, inactivity threshold, and response period need community agreement.

Reinstating permissions

A period of inactivity should not permanently prevent someone from contributing again.

Returning contributors should have a straightforward path to regain the permissions they need, subject to the project’s normal access and security requirements. Reinstatement should not require them to repeat the entire process of becoming a maintainer if their previous role and experience remain relevant.

Implementation

The process should initially be simple enough to follow manually. A periodic review and notification process may be sufficient to start with.

Automation, such as reminders to maintainers and notifications about upcoming access reviews, could be explored later if it would reduce administrative effort.

Once the community agrees on the process, the handbook and relevant project documentation should be updated to reflect it.

Questions for community discussion

I’d appreciate feedback on the following questions:

  1. Should this process apply to all projects in the Foreman ecosystem?

  2. What should count as meaningful activity for a maintainer or committer?

  3. Is three months without meaningful activity a reasonable trigger for a review?

  4. How much advance notice should be given before permissions are removed i.e a week/month ?

  5. Who should be responsible for conducting reviews and managing reinstatement i.e., existing active maintainers?

  6. Would a manual process be sufficient initially, with automation introduced later?

  7. Should we keep a record of who added/removed when, with what role ..etc, i.e. in a .md or wiki?

The aim is to agree on a process that improves security and clarity without discouraging contributors or making it difficult for experienced maintainers to return.

Feedback and suggestions are welcome. This draft can evolve based on community discussion before being adopted and documented as the agreed policy.

  1. Yes. Consistency is key.
  2. Code reviews and following up on them to help get a change merged.
  3. Yes
  4. 2 weeks
  5. That depends. If this is an organization wide enforcement – Owners. If this is a per repository enforcement and management, then active mantainers.
  6. Depends a bit on answer 5 – manual can work but will it scale?
  7. No

Thanks for starting this RFC.

  1. Yes.
  2. A patch that was merged; or triaging open issues/PRs; or helping other contributors; or providing meaningful reviews.
  3. Yes.
  4. Less than a month.
  5. Other active maintainers.
  6. A manual review is fine.
  7. I don’t think we should publicly announce “person X is no longer active in project Y”; it could be perceived as ungrateful for their past contributions. It could also be due to personal reasons that are not meant for the general public.

Just FYI because I was looking for it: teams on GitHub ← where you can see your fellow maintainers.

1. Should this process apply to all projects in the Foreman ecosystem?
Yes

2. What should count as meaningful activity for a maintainer or committer?
Review, commit / PR.

3. Is three months without meaningful activity a reasonable trigger for a review?
Yes

4. How much advance notice should be given before permissions are removed i.e a week/month ?
2 weeks

5. Who should be responsible for conducting reviews and managing reinstatement i.e., existing active maintainers?
Like monitoring who’s an active maintainer, who should be removed, and who should be added? I would say automation.

6. Would a manual process be sufficient initially, with automation introduced later?
I prefer automation from the start.

7. Should we keep a record of who added/removed when, with what role ..etc, i.e. in a .md or wiki?
I don’t think it’s needed, but if it is, maybe make it private for members of the theforeman community.

  1. Yes
  2. Commits, reviews.
  3. I’s say 6-9 months is safer.
  4. If we do review every 3 months, then the maximum threshold could be N+3 months (6+3).
  5. We can leverage LLMs for generating the content (not doing the action of removal), I would use a GitHub Projects feature we have enabled. Each run would be one ticket with discussion, then we can just drag it from Review to Done. Advantage we can use login tags via @lzap syntax
  6. This project would work as a record archive as well.

I am affected by this after my return, there are so many projects I no longer have admin for and I would like. :smiley:

I’m curious about your suggestion of a 6–9 month inactivity window. What makes you feel that period is more appropriate than 3 months?

Personally, I feel 3 months is a reasonable period to trigger a review, especially from a security perspective. With a heads-up and an easy way to regain permissions, I wonder if a longer window is necessary. Would be interested to hear your thoughts

I did not get that point, can you pls share a bit more ?

I like the idea of a project ticket to track effort; however, I do not want to add user login there because of this it could be perceived as ungrateful for their past contributions. It could also be due to personal reasons that are not meant for the general public.

I thought 3 months is too early for community members who do not do work on a daily basis. So I doubled the number. Plus the 3 months buffer if we choose to run a script every 3 months (the worst case, on average it should be 6 months + 1.5 months if my math is correct).

I was just thinking out loud, we will be running some kind of scripts regularly and the run period would add up. This is just a detail, not important. I could say 6 months as the threshold limit as well.

Thanks for those insights, I still feel 3 months is an enough time + giving 2 weeks addition time to be confirmed by that user if wanted to stay active further .

I too find 3 months too short, and would go with 6.

Also, I think there should be more than 2 weeks between the initial notification and removal of rights - how about 4 weeks?

Thanks for sharing the inputs, I understand that not everyone contributes daily, and the additional buffer for periodic checks makes sense.

However, I still feel 3 months is a reasonable period to trigger a review, followed by a 2-week notice before removing permissions. This gives maintainers enough opportunity to respond while helping us identify unused access earlier.

Since re-adding permissions should be straightforward when someone returns, could we consider starting with the 3-month period and revisiting it based on how it works in practice?

I think the key is finding the right balance between security and flexibility for contributors.

2 weeks is a normal vacation, so I don’t think that this is a reasonable period to expect an answer from someone, especially if Foreman is not their top priority.

That’s a good point about vacation; in that case, we could consider an option of 4 weeks notice.

Yeah. +1

Specifically in the current state of things where we have inactive devs for several years with permissions. Even my proposal 6-9 months is on the tighter side to my taste, but I suggested it since the initial proposal was quite low.

Will the activity tracking and permission enforcement be on an organization level, or repo/team?

Take me as an example, I am currently part of 14 github teams, which give me access to a broad variety of repos, but I don’t contribute equally to those. So would I loose my KubeVirt or Azure permissions (which would be totally fine!) if I don’t contribute there, or would that be prevented by me contributing to foremanctl?

I think both approaches work, but we need to be explicit which one we take.

I think we need both levels of review.

At the organization level, owners can take a high-level view of access across teams and repositories, identifying permissions that may no longer be needed.

At the repository level, active maintainers can assess actual contribution and involvement in their specific projects.

This way, organization-wide reviews provide oversight, while repository-level reviews ensure decisions are based on relevant activity rather than someone’s overall activity across the ecosystem. We should clarify how these two levels work together, especially when teams have access to multiple repositories.

Doesn’t this place a lot of duplicated work on the people involved, and the requirement to check “if the others” already tackled this?

That’s a fair point, and based on inputs what I see is the better way use a GitHub Projects feature we have enabled. Each run would be one ticket with discussion, then we can just drag it from Review to Done

I’m open to hearing more thoughts if there is another better way to make it happen?

I had the impression we didn’t want to track those removals publicly, so the project should be kept private (which is possible).

Thanks everyone for taking the time to share your thoughts and suggestions.

I think we have gathered enough input to establish a common direction for managing maintainer and committer permissions across the Foreman ecosystem.

To summarize the proposed approach:

  • Apply a consistent process across the Foreman ecosystem .

  • Assess meaningful activity(code contributions/PR reviews/follow-ups/issue triage/technical discussions/ helping other contributors) at the repository/Org level.

  • Use 3 months of inactivity as the initial trigger for an access review.

  • Provide 4 weeks’ advance notice before removing permissions.

  • Have organization owners oversee organization-wide access, while active maintainers assess repository-level activity and access requirements.

  • Use our existing GitHub Projects feature to track reviews, ownership, and decisions transparently, avoiding duplicated effort.

  • Keep access-management records private and avoid public announcements of individual removals.

  • Make re-entry straightforward for contributors who return.

There are differing opinions on the inactivity threshold, but I suggest we start with this approach, review how it works in practice, and adjust where necessary.

As a next step, I’ll consolidate these inputs into an updated RFC.

Thanks again for the constructive discussion!

I am gonna put on the record that I still thinks 3 months of activity is too short, we can be creating an excessive amount of notifications to people who contribute irregularly and all those tickets/issues/prs will have to be reviewed back and forth. I am fine with trying it and updating the threshold accordingly if this is an issue.