internal package
Foswiki::Access A singleton object of this class manages the access control database.
ClassMethod
new($session) Constructor.
ObjectMethod
finish() ObjectMethod
getReason() → $string Return a string describing the reason why the last access control failure occurred.
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)