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

Allow admins (and only admins) to change owner #2169

Merged
merged 2 commits into from
Sep 12, 2024

Conversation

david-a-wheeler
Copy link
Collaborator

No description provided.

Signed-off-by: David A. Wheeler <dwheeler@dwheeler.com>
Copy link

codecov bot commented Sep 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.07%. Comparing base (e6abd6d) to head (8a6fc43).
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2169   +/-   ##
=======================================
  Coverage   98.07%   98.07%           
=======================================
  Files          55       55           
  Lines        2128     2130    +2     
=======================================
+ Hits         2087     2089    +2     
  Misses         41       41           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@TonyLHansen
Copy link
Contributor

I'm not a ruby-nista, so I'm probably missing it. Shouldn't the old owner get added to the list of editors?

@david-a-wheeler
Copy link
Collaborator Author

You could do that as well, but I don't want to automatically do that. Sometimes people leave projects entirely. The two fields are right next to each other, so an admin could easily do it if they chose (cut/paste owner id to the additional editors, then write the new owner id).

@TonyLHansen
Copy link
Contributor

That's fair. Perhaps add a reminder note to the html page "If the current owner should retain editor rights, remember to add them to the editor list as well."

Signed-off-by: David A. Wheeler <dwheeler@dwheeler.com>
@david-a-wheeler
Copy link
Collaborator Author

Ok, I'll add some reminder text. Note: Currently I'm intentionally NOT internationalizing this text, since it's ONLY for admins, and our long-suffering translators have enough to do. It would be easy to internationalize later.

I'll tweak the automated tests further to verify the options only shown when it's supposed to be shown.

@TonyLHansen
Copy link
Contributor

thanks

@david-a-wheeler david-a-wheeler merged commit 93e5567 into main Sep 12, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants