Allow everyone to read or write a wiki by a repo unit setting (#30495)

Replace #6312
Help #5833
Wiki solution for #639

(cherry picked from commit 3feba9f1f44156c256a30d25ad1c25f751819c94)

Conflicts:
  Trash everything, just keep the migration placeholder to ensure the Gitea
  sequence is preserved. The Wiki edition is implemented differently.
This commit is contained in:
wxiaoguang 2024-04-17 23:58:37 +08:00 committed by Earl Warren
parent 4e6e63dca2
commit b9891088ad
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -584,6 +584,8 @@ var migrations = []Migration{
NewMigration("Add commit status summary table", v1_23.AddCommitStatusSummary),
// v296 -> v297
NewMigration("Add missing field of commit status summary table", v1_23.AddCommitStatusSummary2),
// v297 -> v298
NewMigration("Add everyone_access_mode for repo_unit", noopMigration),
}
// GetCurrentDBVersion returns the current db version