forgejo/models/organization
Lunny Xiao f6a46055aa
Reimplement GetUserOrgsList to make it simple and clear (#32486)
Reimplement GetUserOrgsList and also move some functions and test to
org_list file.

---------

Co-authored-by: Zettat123 <zettat123@gmail.com>
(cherry picked from commit b4abb6deff14b741c7666d7579e0eea68443306c)

Conflicts:
	models/organization/org_test.go
	services/oauth2_provider/access_token.go
  trivial conflicts due to codeblocks moving to different files
2024-11-17 21:57:34 +01:00
..
TestInconsistentOwnerTeam [BUG] Don't allow owner team with incorrect unit access 2024-10-11 14:48:47 +02:00
main_test.go tests: improve actvititypub integration test code 2024-11-01 22:39:49 +01:00
org.go Reimplement GetUserOrgsList to make it simple and clear (#32486) 2024-11-17 21:57:34 +01:00
org_list.go Reimplement GetUserOrgsList to make it simple and clear (#32486) 2024-11-17 21:57:34 +01:00
org_list_test.go Reimplement GetUserOrgsList to make it simple and clear (#32486) 2024-11-17 21:57:34 +01:00
org_repo.go
org_test.go Reimplement GetUserOrgsList to make it simple and clear (#32486) 2024-11-17 21:57:34 +01:00
org_user.go Even more db.DefaultContext refactor (#27352) 2023-10-03 10:30:41 +00:00
org_user_test.go Calculate PublicOnly for org membership only once (#32234) 2024-11-17 21:57:34 +01:00
team.go [BUG] Don't allow owner team with incorrect unit access 2024-10-11 14:48:47 +02:00
team_invite.go
team_invite_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
team_list.go
team_repo.go
team_test.go [BUG] Don't allow owner team with incorrect unit access 2024-10-11 14:48:47 +02:00
team_unit.go Even more db.DefaultContext refactor (#27352) 2023-10-03 10:30:41 +00:00
team_user.go Even more db.DefaultContext refactor (#27352) 2023-10-03 10:30:41 +00:00