Could we implement ALLOWED_ORG_VISIBILITY_MODES? #14413

Open
opened 2025-11-02 11:12:19 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @markwylde on GitHub (Apr 26, 2025).

Feature Description

We currently have a config variable for ALLOWED_USER_VISIBILITY_MODES, which can be public,limited,private. When specified, it will "Set which visibility modes a user can have"

Can we implement a ALLOWED_ORG_VISIBILITY_MODES that would act the same? "Set which visibility modes an org can have"

For example, when set, to "limited,private" it would show like:

Image

Screenshots

No response

Originally created by @markwylde on GitHub (Apr 26, 2025). ### Feature Description We currently have a config variable for `ALLOWED_USER_VISIBILITY_MODES`, which can be `public,limited,private`. When specified, it will "Set which visibility modes a user can have" Can we implement a `ALLOWED_ORG_VISIBILITY_MODES` that would act the same? "Set which visibility modes an org can have" For example, when set, to "limited,private" it would show like: <img width="828" alt="Image" src="https://github.com/user-attachments/assets/1928752a-0b23-40bd-aefd-beed5c395496" /> ### Screenshots _No response_
GiteaMirror added the type/proposal label 2025-11-02 11:12:19 -06:00
Author
Owner

@markwylde commented on GitHub (Apr 26, 2025):

This is Claude Code's attempt to implement it:
https://github.com/go-gitea/gitea/pull/34290

@markwylde commented on GitHub (Apr 26, 2025): This is Claude Code's attempt to implement it: https://github.com/go-gitea/gitea/pull/34290
Author
Owner

@techknowlogick commented on GitHub (Apr 26, 2025):

This seems reasonable. Would you be able to send a PR? If not, that's ok as someone else could probably get to it.

@techknowlogick commented on GitHub (Apr 26, 2025): This seems reasonable. Would you be able to send a PR? If not, that's ok as someone else could probably get to it.
Author
Owner

@markwylde commented on GitHub (Apr 26, 2025):

Thanks @techknowlogick. I've pushed up a PR here:
https://github.com/go-gitea/gitea/pull/34290

@markwylde commented on GitHub (Apr 26, 2025): Thanks @techknowlogick. I've pushed up a PR here: https://github.com/go-gitea/gitea/pull/34290
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#14413