You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by se...@apache.org on 2016/12/08 12:05:38 UTC

incubator-ponymail git commit: db36942 only fixed one instance of aaa.rights() call in atom.lua

Repository: incubator-ponymail
Updated Branches:
  refs/heads/master d1eaa36b0 -> 0baf76207


db36942 only fixed one instance of aaa.rights() call in atom.lua

This fixes #278

Project: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/commit/0baf7620
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/tree/0baf7620
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/diff/0baf7620

Branch: refs/heads/master
Commit: 0baf76207f4a88b9183d3000855aff2b87c3e078
Parents: d1eaa36
Author: Sebb <se...@apache.org>
Authored: Thu Dec 8 12:05:13 2016 +0000
Committer: Sebb <se...@apache.org>
Committed: Thu Dec 8 12:05:13 2016 +0000

----------------------------------------------------------------------
 site/api/atom.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/0baf7620/site/api/atom.lua
----------------------------------------------------------------------
diff --git a/site/api/atom.lua b/site/api/atom.lua
index 56df8be..cabdff4 100644
--- a/site/api/atom.lua
+++ b/site/api/atom.lua
@@ -170,7 +170,7 @@ function handle(r)
                     if doc.private then
                         canUse = false
                         if account and not rights then
-                            rights = aaa.rights(r, account.credentials.uid or account.credentials.email)
+                            rights = aaa.rights(r, account)
                         end
                         if account then
                             local lid = doc.list_raw:match("<[^.]+%.(.-)>")