Skip to content

Enact non-commercial org restrictions #74

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

Merged
merged 3 commits into from
May 21, 2025
Merged

Conversation

ChrisPenner
Copy link
Contributor

@ChrisPenner ChrisPenner commented May 20, 2025

Overview

After this PR:

  • Projects created in non-commercial orgs default to public
  • All other projects still default to private
  • Non-commercial org projects cannot be set to private

Implementation notes

  • Throw a 403 if trying to update a non-commercial project to private
  • Choose project visibility based on org-type if creating in an org.

Test coverage

Transcripts

Loose ends

  • Should probably add a note in UCM to indicate the visibility a project was created at.
  • @hojberg should indicate to end users when/why they can't set certain projects to Private

@ChrisPenner ChrisPenner merged commit 2aef1c4 into main May 21, 2025
4 checks passed
@ChrisPenner ChrisPenner deleted the cp/org-restrictions branch May 21, 2025 16:44
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