]> source.dussan.org Git - gitea.git/commit
Rewrite of access migration
authorPeter Smit <peter@smitmail.eu>
Fri, 13 Feb 2015 11:58:19 +0000 (13:58 +0200)
committerPeter Smit <peter@smitmail.eu>
Fri, 13 Feb 2015 11:58:19 +0000 (13:58 +0200)
commitddf7014b9b16e571e86c87962be9f9cbe140a93b
treee8a98a3a3eb5377f17dc102e340875e82716ddcd
parent25f5a8d7986a710cef01d02725071d2de0a6b143
Rewrite of access migration

The old migration had a few issues:
 - It left old column names around
 - It did not give the right access levels for owners and admins

Also, this includes a migration that fixes the authorization of owner teams, which was previously ORG_ADMIN (instead of ORG_OWNER)
models/migrations/migrations.go