get all attachs 权限未验证

This commit is contained in:
lealife
2015-10-10 14:38:18 +08:00
parent 097d2709e2
commit ae0eb3b918
2 changed files with 12 additions and 3 deletions

View File

@ -68,7 +68,7 @@ var commonUrl = map[string]map[string]bool{"Index": map[string]bool{"Index": tru
},
"Oauth": map[string]bool{"GithubCallback": true},
"File": map[string]bool{"OutputImage": true, "OutputFile": true},
"Attach": map[string]bool{"Download": true, "DownloadAll": true},
"Attach": map[string]bool{"Download": true/*, "DownloadAll": true*/},
}
func needValidate(controller, method string) bool {