Organization prefix for regular user orgs #14040

Open
opened 2025-11-02 11:01:02 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @AdamMajer on GitHub (Jan 24, 2025).

Feature Description

In our use case, we create a lot of orgs that can be considered "throw away" -- they are there as temporary aggregations and are not very important. There are other orgs that are more important and are created by admins.

Having an option that would prefix all user created orgs with a fixed prefix would be helpful here. This could either be per instance (system wide) or per user as a user option.

Screenshots

No response

Originally created by @AdamMajer on GitHub (Jan 24, 2025). ### Feature Description In our use case, we create a lot of orgs that can be considered "throw away" -- they are there as temporary aggregations and are not very important. There are other orgs that are more important and are created by admins. Having an option that would prefix all user created orgs with a fixed prefix would be helpful here. This could either be per instance (system wide) or per user as a user option. ### Screenshots _No response_
GiteaMirror added the type/proposal label 2025-11-02 11:01:02 -06:00
Author
Owner

@lunny commented on GitHub (Jan 24, 2025):

Did you mean there is an option like org_, so that every organization will have a org_ as the prefix which cannot be removed by user when creating the organization?

@lunny commented on GitHub (Jan 24, 2025): Did you mean there is an option like `org_`, so that every organization will have a `org_` as the prefix which cannot be removed by user when creating the organization?
Author
Owner

@eeyrjmr commented on GitHub (Jan 25, 2025):

It sounds like you would benefit from a directory structure rather than prefixes.
Someone showed interest in implementing this and layed out a plan

@eeyrjmr commented on GitHub (Jan 25, 2025): It sounds like you would benefit from a directory structure rather than prefixes. Someone showed interest in implementing this and layed out a plan
Author
Owner

@AdamMajer commented on GitHub (Jan 27, 2025):

Did you mean there is an option like org_, so that every organization will have a org_ as the prefix which cannot be removed by user when creating the organization?

Correct.

But as @eeyrjmr indicated, this would even better be solved by nested org structures... though I think implementing a nested org structure would be more complicated than just fixed org prefix. A prefix would also not interfere with the nested org structure, if that is implemented at some later stage.

@AdamMajer commented on GitHub (Jan 27, 2025): > Did you mean there is an option like `org_`, so that every organization will have a `org_` as the prefix which cannot be removed by user when creating the organization? Correct. But as @eeyrjmr indicated, this would even better be solved by nested org structures... though I think implementing a nested org structure would be more complicated than just fixed org prefix. A prefix would also not interfere with the nested org structure, if that is implemented at some later stage.
Author
Owner

@mcepl commented on GitHub (May 12, 2025):

Just to mention https://github.com/openSUSE/openSUSE-git/issues/79 here.

@mcepl commented on GitHub (May 12, 2025): Just to mention https://github.com/openSUSE/openSUSE-git/issues/79 here.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#14040