0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-22 07:13:02 -05:00
forgejo/models/organization
Gusted 48fa9c96a7 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

(cherry picked from commit bc9f1e2533)
2024-12-04 17:57:42 +00:00
..
TestInconsistentOwnerTeam [BUG] Don't allow owner team with incorrect unit access 2024-10-14 19:59:17 +00:00
main_test.go
mini_org.go
org.go fix: correct permission loading for limited organisation 2024-12-04 17:57:42 +00:00
org_repo.go
org_test.go fix: correct permission loading for limited organisation 2024-12-04 17:57:42 +00:00
org_user.go Even more db.DefaultContext refactor (#27352) 2023-10-03 10:30:41 +00:00
org_user_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
team.go [BUG] Don't allow owner team with incorrect unit access 2024-10-14 19:59:17 +00: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-14 19:59:17 +00: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