milestone: list view
This commit is contained in:
parent
8e8d535e23
commit
04458d49a0
16 changed files with 274 additions and 131 deletions
File diff suppressed because one or more lines are too long
|
@ -348,7 +348,7 @@ func RepoAssignment(redirect bool, args ...bool) macaron.Handler {
|
|||
}
|
||||
}
|
||||
|
||||
func RequireAdmin() macaron.Handler {
|
||||
func RequireRepoAdmin() macaron.Handler {
|
||||
return func(ctx *Context) {
|
||||
if ctx.Repo.AccessMode < models.ACCESS_MODE_ADMIN {
|
||||
if !ctx.IsSigned {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue