Mercurial > moin > 1.9
changeset 2916:06547d7df727
fix putPage comment
author | Johannes Berg <johannes AT sipsolutions DOT net> |
---|---|
date | Sun, 28 Oct 2007 20:46:53 +0100 |
parents | 05d90815b0f9 |
children | 093ffb70b26f |
files | MoinMoin/xmlrpc/__init__.py |
diffstat | 1 files changed, 1 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/MoinMoin/xmlrpc/__init__.py Sun Oct 28 20:46:12 2007 +0100 +++ b/MoinMoin/xmlrpc/__init__.py Sun Oct 28 20:46:53 2007 +0100 @@ -527,10 +527,7 @@ pagename = self._instr(pagename) - # Only authenticated (trusted) users may use putPage! - # Trusted currently means being authenticated by http auth or wiki auth. - # You could control access to pages by using ACLs - + # check ACLs if not self.request.user.may.write(pagename): return xmlrpclib.Fault(1, "You are not allowed to edit this page")