We relaunched the TWiki.org project with an expanded TWiki charter, and we invite you to participate! The TWiki.org Code of Conduct agreement took effect on 27 Oct 2008. We ask existing twiki.org users to opt-in. You need to opt-in to participate in the Blog, Codev, Plugins and TWiki webs. -- PeterThoeny - 27 Oct 2008
Tags:
create new tag
, view all tags

Question

How does Access Control affect notification with MailerContrib? ? I have a web that has the AllowWebView? set to a limited number of groups. However, MailerContrib? can not read the WebNotify to get scriptions. The MailerContrib? docs state that it doesn't pay attention to permissions.

Is there a way to get it to read the WebNotify for a restricted web in order to get the list of subscribers and send change notification?

Environment

TWiki version: TWikiRelease02Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories: Permissions, Topic revisions, Plugins, Mail

-- TimDaly - 02 Jun 2005

Answer

What error message are you seeing? Is it an "oops redirect" or a browser error? Exactly how are your permissions set up (so I can reproduce the problem).

MailerContrib? is not supposed to acknowledge permissions, for fairly obvious reasons, so this is a probably a bug.

-- CrawfordCurrie - 30 Jun 2005

I encounter the same issues as well. Took me a good afternoon to come to the same diagnosis.

Steps to reproduce: 1, Pick a Web -> go to WebPreferences 2, Set ALLOWWEBVIEW to a group, any group. 3, When you now run mailnotifier, it shows "WebName has no subscribers"

As soon as you remove the access control, mailnotifier works again.

-- DouglasMak - 15 Sep 2005

The workaround I found is modifying "Mailer.pm" line 82.

#      TWiki::initialize( "/$web", "nobody" );
substitute nobody with a WikiName? of a real user. ow.

-- DouglasMak - 15 Sep 2005

MailerContrib should possibly use readTopicText with "ignore permissions" set? See TWikiFuncModule#readTopicText_web_topic_rev_igno

-- PeterThoeny - 15 Sep 2005

 
Topic revision: r6 - 15 Sep 2005 - 06:12:08 - PeterThoeny
 
TWIKI.NET
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback