mirror of
https://github.com/go-gitea/gitea
synced 2025-07-15 23:17:19 +00:00
Restrict creating organisations by user (#193)
* restrict creating organizations based on right on user * revert bindata.go * reverse vendor lib * revert goimports change * set AllowCreateOrganization default value to true * revert locale * added default value for AllowCreateOrganization * fix typo in migration-comment * fix comment * add coments in migration
This commit is contained in:
@@ -76,8 +76,10 @@ var migrations = []Migration{
|
||||
|
||||
// v13 -> v14:v0.9.87
|
||||
NewMigration("set comment updated with created", setCommentUpdatedWithCreated),
|
||||
|
||||
// v14
|
||||
NewMigration("create user column diff view style", createUserColumnDiffViewStyle),
|
||||
// v15
|
||||
NewMigration("create user column allow create organization", createAllowCreateOrganizationColumn),
|
||||
}
|
||||
|
||||
// Migrate database to current version
|
||||
|
Reference in New Issue
Block a user