]> source.dussan.org Git - gitea.git/commit
Updating context and fixing permission issues
authorPeter Smit <peter@smitmail.eu>
Mon, 16 Feb 2015 10:51:56 +0000 (12:51 +0200)
committerPeter Smit <peter@smitmail.eu>
Mon, 16 Feb 2015 10:51:56 +0000 (12:51 +0200)
commited89b39984a9191380263eaf357c3a9c71770674
tree8fd13622efaef4ae4766634b1c210fbf20727e5d
parentcd6a2b78a752605d808c6392ce78b92d4759fede
Updating context and fixing permission issues

The boolean flags in the repo context have been replaced with mode and two methods

Also, the permissions have been brought more in line with https://help.github.com/articles/permission-levels-for-an-organization-repository/ , Admin Team members are able to change settings of their repositories.
cmd/web.go
modules/middleware/context.go
modules/middleware/repo.go
routers/api/v1/repo_file.go
routers/repo/issue.go
routers/repo/release.go
routers/repo/repo.go
templates/repo/header.tmpl
templates/repo/sidebar.tmpl
templates/repo/toolbar.tmpl