internal package Foswiki::Access::TopicACLAccess

See PublishedAPI for packages intended to be used by Plugin and Contrib authors, or browse all packages.
See also Developing plugins, Developer's Bible, Technical Overview

internal package Foswiki::Access::TopicACLAccess

Implements the traditional, longstanding ACL in topic preference style.

ObjectMethod haveAccess($mode, $User, $web, $topic, $attachment) → $boolean

ObjectMethod haveAccess($mode, $User, $meta) → $boolean

ObjectMethod haveAccess($mode, $User, $address) → $boolean

  • $mode - 'VIEW', 'CHANGE', 'CREATE', etc. (defaults to VIEW)
  • $cUID - Canonical user id (defaults to current user)
Check if the user has the given mode of access to the topic. This call may result in the topic being read.

Versione pagina: r1 - 21 Nov 2014, ProjectContributor
This site is powered by FoswikiCopyright © di chi contribuisce. Tutti i materiali presenti su questo sito sono di proprietà dei rispettivi autori.
Idee, richieste, problemi relativi a Leader.IT? Invia un commento!