SID-00198: Form-based access control
| Status: |
Unanswered |
TWiki version: |
4.2.0 |
Perl version: |
5.008 |
| Category: |
CategoryAccessControl |
Server OS: |
Linux |
Last update: |
16 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-00198$" 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
Please do not post the same question multiple times. This is the 4th time. Duplicate of
SID-00196
--
PeterThoeny - 18 Mar 2009
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.