feature (orgmode): use emacs to export org documents

This commit is contained in:
Mickael KERJEAN
2019-01-08 23:51:11 +11:00
parent f87a58c0ba
commit 43f00e12d6
20 changed files with 328 additions and 58 deletions

View File

@ -106,7 +106,7 @@ func FileCat(ctx App, res http.ResponseWriter, req *http.Request) {
Path: "/",
})
if model.CanRead(&ctx) == false {
SendErrorResult(res, NewError("Permission denied", 403))
SendErrorResult(res, ErrPermissionDenied)
return
}