Tags:
create new tag
view all tags

SID-00195: Passing access control using a form

Status: Unanswered Unanswered TWiki version: 4.2.0 Perl version: 5.0008
Category: CategoryAccessControl Server OS: Linux Last update: 17 years ago

I am trying to implement form-based access control for an electronic lab notebook application.

For the parent (the lab notebook):

   * Set ALLOWTOPICVIEW = %SEARCH{ "^SID-00195$" scope="topic" nosearch="on" type="regex" nonoise="on" format="$wikiusername" }%, %FORMFIELD{"readAccess"}%

For the child (the lab notebook page):

   * Set ALLOWTOPICVIEW = %SEARCH{ "^SupportForum$" scope="topic" nosearch="on" type="regex" nonoise="on" format="$wikiusername" }%, %FORMFIELD{"readAccess" topic="SupportForum"}%

I think variables are not expended when the TWiki engine evaluates access. Am I right?

I would like to avoid creating a new subweb for each lab notebook, but I may have no other choice.

-- GregoireLeclair - 17 Mar 2009

Discussion and Answer

Duplicate of SID-00196

-- PeterThoeny - 17 Mar 2009

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
SupportForm
Status Unanswered
Title Passing access control using a form
SupportCategory CategoryAccessControl
TWiki version 4.2.0
Server OS Linux
Web server Apache
Perl version 5.0008
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2009-03-18 - 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.