You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…#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#30012.
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.
Fixesgo-gitea#30012.
…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.
Fixesgo-gitea#30012.
…#30013) (#30035)
Backport #30013 by @DrMaxNix
This PR adds `setting.Service.DefaultOrgMemberVisible` value to dataset
of user when the initial org creator is being added to the created org.
Fixes#30012.
Co-authored-by: DrMaxNix <mail@drmaxnix.de>
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: