-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
DEFAULT_ORG_MEMBER_VISIBLE
ignored for first org member
#30012
Comments
GiteaBot
pushed a commit
to GiteaBot/gitea
that referenced
this issue
Mar 23, 2024
…go-gitea#30013) This PR adds `setting.Service.DefaultOrgMemberVisible` value to dataset of user when the initial org creator is being added to the created org. Fixes go-gitea#30012.
silverwind
pushed a commit
to silverwind/gitea
that referenced
this issue
Mar 24, 2024
…go-gitea#30013) This PR adds `setting.Service.DefaultOrgMemberVisible` value to dataset of user when the initial org creator is being added to the created org. Fixes go-gitea#30012.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
The first org member (the creator) is being added when the org is created
CreateOrganization()
:gitea/models/organization/org.go
Lines 321 to 324 in 5c91d79
Any new member is being added using another method
AddOrgUser()
:gitea/models/organization/org.go
Lines 575 to 579 in 5c91d79
Note that the default dataset of these differ. Namely, the dataset of the first member does not respect the default value for visibility.
Gitea Version
main
The text was updated successfully, but these errors were encountered: