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
--
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