Difference: TWikiFuncDotPm (2 vs. 3)

Revision 32006-10-25 - TWikiContributor

Line: 359 to 359
  Check access permission for a topic based on the TWiki.TWikiAccessControl rules
  • $type - Access type, e.g. 'VIEW', 'CHANGE', 'CREATE'
Changed:
<
<
  • $wikiName - WikiName of remote user, i.e. "Main.PeterThoeny"
  • $text - Topic text, optional. If empty, topic $web.$topic is consulted
>
>
  • $wikiName - WikiName of remote user, e.g. "PeterThoeny". If $wikiName is '', 0 or undef then access is always permitted.
  • $text - Topic text, optional. If 'perl false' (undef, 0 or ''), topic $web.$topic is consulted
 
  • $topic - Topic name, required, e.g. 'PrivateStuff'
  • $web - Web name, required, e.g. 'Sandbox'
Added:
>
>
A perl true result indicates that access is permitted.
  Since: TWiki::Plugins::VERSION 1.000 (27 Feb 2001)
 
This site is powered by the TWiki collaboration platformCopyright © 1999-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
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.TWikiFuncDotPm.