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

Every run of a view script calls TWiki::Access::checkAccessPermission (at least) twice, with nothing much happening in between:

  1. TWiki::Store::readTopicRaw directly calls checkAccessPermission
  2. after return from the Store, TWiki::UI::View::view calls TWiki::UI::checkAccess, passing the topic text. This routine, however, ignores the topic text and calls checkAccessPermission again.

This has to be investigated further. But since checkAccessPermission needs preferences from both the topic in question and the WebPreferences, double work should be avoided even if it is cached.

Summary Performance: Every view calls checkAccessPermission twice
ReportedBy TWiki:Main.HaraldJoerg
Codebase ~twiki4
SVN Range TWiki-4.1, Tue, 28 Nov 2006, build 12081
AppliesTo Engine

Priority Enhancement
CurrentState New


TargetRelease n/a
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r2 - 2006-12-01 - HaraldJoerg
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback