Difference: TWikiAccessDotPm (5 vs. 6)

Revision 62020-01-22 - TWikiAdminUser

Line: 1 to 1

Package TWiki::Access

A singleton object of this class manages the access control database.

Line: 162 to 163
  • $user - User id (not wikiname)
  • $text - If undef or '': Read '$theWebName.$theTopicName' to check permissions
  • $meta - If undef, but $text is defined, then metadata will be parsed from $text. If defined, then metadata embedded in $text will be ignored. Always ignored if $text is undefined. Settings in $meta override * Set settings in plain text.
  • $topic - Topic name to check, e.g. 'SomeTopic' *undef to check web perms only)
  • $topic - OpenTopics name to check, e.g. 'SomeTopic' *undef to check web perms only)
  • $web - Web, e.g. 'Know'
If the check fails, the reason can be recoveered using getReason.
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 1999-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors. <br /> Ideas, requests, problems regarding lt;nopgt;TWiki? lt;a href='mailto:twiki-admin@kcl.ac.uk?subject=TWiki%20Feedback%20on%20TWiki.TWikiAccessDotPm'gt;Send feedbacklt;/agt; <br /> Note: Please contribute updates to this topic on TWiki.org at <a href="http://twiki.org/cgi-bin/view/TWiki/TWikiAccessDotPm" target="twiki.org">TWiki:TWiki.TWikiAccessDotPm</a>.