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

-- PeterThoeny - 15 Sep 2005

Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2005-09-15 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.