forgejo/models/organization
Giteabot 5e5574c7b3
Respect DEFAULT_ORG_MEMBER_VISIBLE setting when adding creator to org (#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>
(cherry picked from commit e321b8a849087d736a96275d5960f9b1446c95ba)
2024-04-03 12:23:23 +02:00
..
main_test.go move repository deletion to service layer (#26948) 2023-09-08 04:51:15 +00:00
mini_org.go Next round of db.DefaultContext refactor (#27089) 2023-09-16 14:39:12 +00:00
org.go Respect DEFAULT_ORG_MEMBER_VISIBLE setting when adding creator to org (#30013) (#30035) 2024-04-03 12:23:23 +02:00
org_repo.go Use RepositoryList instead of []*Repository (#25074) 2023-06-05 15:25:47 +08:00
org_test.go Reduce usage of db.DefaultContext (#27073) 2023-09-14 17:09:32 +00:00
org_user.go Allow repo admins too to delete the repo (#23940) 2023-04-07 11:21:02 -04:00
org_user_test.go Reduce usage of db.DefaultContext (#27073) 2023-09-14 17:09:32 +00:00
team.go Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
team_invite.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
team_invite_test.go Replace 'userxx' with 'orgxx' in all test files when the user type is org (#27052) 2023-09-14 02:59:53 +00:00
team_list.go Another round of db.DefaultContext refactor (#27103) (#27262) 2023-09-25 19:24:35 +02:00
team_repo.go Use RepositoryList instead of []*Repository (#25074) 2023-06-05 15:25:47 +08:00
team_test.go Another round of db.DefaultContext refactor (#27103) (#27262) 2023-09-25 19:24:35 +02:00
team_unit.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
team_user.go Fix team members API endpoint pagination (#24754) 2023-05-17 08:12:37 +08:00