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 - 2005-09-15 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by PerlIdeas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.