forgejo/models/organization
Gusted bc9f1e2533
fix: correct permission loading for limited organisation
- If a organisation is set to be limited visible, then it will still be
visible for signed-in users. However `UnitPermission` didn't take this
into account, it does now.
- Add unit test.
- Resolves #6141
2024-12-04 11:03:33 +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 fix: correct permission loading for limited organisation 2024-12-04 11:03:33 +01:00
org_list.go Improve performance of allowed org repo creation query (#6100) 2024-12-01 15:16:25 +00:00
org_list_test.go Improve performance of allowed org repo creation query (#6100) 2024-12-01 15:16:25 +00:00
org_repo.go Use RepositoryList instead of []*Repository (#25074) 2023-06-05 15:25:47 +08:00
org_test.go fix: correct permission loading for limited organisation 2024-12-04 11:03:33 +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 Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
team_invite_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
team_list.go Another round of db.DefaultContext refactor (#27103) 2023-09-25 13:17:37 +00:00
team_repo.go Use RepositoryList instead of []*Repository (#25074) 2023-06-05 15:25:47 +08:00
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