Re: Globally disabling sendto_form?

David Carter <dpc22-KWPb1pKIrIJaa/[email protected]>
Newsgroups gmane.comp.web.zope.plone.devel
Message-ID <[email protected]>
On 2014-02-18 18:40, Vincent Fretin wrote:
> I think you meant:
> site.manage_permission('Allow sendto', roles=('Manager',))

Actually it turns out to be:

   site.manage_permission('Allow sendto', roles=())

as the sendto_form view runs with Manager role. But thanks for the hint.

With my postmaster-KWPb1pKIrIJaa/[email protected] hat on, I confess to being rather appalled 
to discover Plone ships as a spam open relay. Spammers are clearly 
looking for these sendto_form pages.

-- 
David Carter                             Email: 
David.Carter-IE+S/[email protected]
University of Cambridge,                 Phone: (01223) 334502
Information Services,                    Fax:   (01223) 334679
7 J J Thomson Avenue,
Cambridge UK.  CB3 0RB

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.