There was an error while loading. Please reload this page.
1 parent 66dbe4b commit c2105e3Copy full SHA for c2105e3
1 file changed
models/user/user.go
@@ -144,10 +144,14 @@ type User struct {
144
NumRepos int
145
146
// For organization
147
- NumTeams int
148
- NumMembers int
149
- Visibility structs.VisibleType `xorm:"NOT NULL DEFAULT 0"`
150
- RepoAdminChangeTeamAccess bool `xorm:"NOT NULL DEFAULT false"`
+ NumTeams int
+ NumMembers int
+ Visibility structs.VisibleType `xorm:"NOT NULL DEFAULT 0"`
+
151
+ // Introduced by "Add teams to repo on collaboration page. (#8045)"
152
+ // Whether a repo admin can manage add/remove the repo to/from a team on the collaboration page
153
+ // Although this should be a team setting .....
154
+ RepoAdminChangeTeamAccess bool `xorm:"NOT NULL DEFAULT false"`
155
156
// Preferences
157
DiffViewStyle string `xorm:"NOT NULL DEFAULT ''"`
0 commit comments