• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item6288: Mailnotify not showing Form Data in Secure Web. (as per Support.SID-00379)

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension MailerContrib Normal New   n/a  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

If Webs on TWiki site are view restricted from TWikiGuest.

"* Set DENYWEBVIEW = TWikiGuest"

Mailnotify doesn't fully work on any topic on those webs. It only states that there were changes in the topics in those webs, but fails to show the content/changes of those topics.

There are two users being invoked to perform the Notification, the first one has access based on the end-user access to view/know there were changes, but the one generating the email doesn't have access and therefore the searches/formfield queries show up empty. (Even though the actual end-user subscribed to the notification has access to this topic/web).

In other support topics I saw that there used to be a way to run mailnotify under a specific username, so based on that hint, our solution was to change MailerContrib.pm in the following way:

Under sub mailNotify,

was:

$twiki = new TWiki();

now is:

$twiki = new TWiki($TWiki::cfg{AdminUserWikiName});

As far as I understand this only changes how the "email rendering script" starts its own session, and since this happens after the user-access permissions "security screening" has taken place, it should be ok.

-- HugoDeLaCerda - 20 Jul 2009

ItemTemplate
Summary Mailnotify not showing Form Data in Secure Web. (as per Support.SID-00379)
ReportedBy TWiki:Main.HugoDeLaCerda
Codebase 4.3.0
SVN Range TWiki-5.0.0, Sat, 18 Apr 2009, build 18024
AppliesTo Extension
Component MailerContrib
Priority Normal
CurrentState New
WaitingFor

Checkins

TargetRelease n/a
ReleasedIn

Topic revision: r1 - 2009-07-20 - HugoDeLaCerda
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback