ponymail-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject incubator-ponymail git commit: db36942 only fixed one instance of aaa.rights() call in atom.lua
Date Thu, 08 Dec 2016 12:05:38 GMT
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 <sebb@apache.org>
Authored: Thu Dec 8 12:05:13 2016 +0000
Committer: Sebb <sebb@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("<[^.]+%.(.-)>")


Mime
View raw message