internal package Foswiki::Access::AdminOnlyAccess

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::AdminOnlyAccess

DENY EVERYONE that is not Admin - Admin permitted anythingeverything

ObjectMethod haveAccess($mode, $cUID, …) → $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.

Topic revision: r1 - 02 Mar 2020, UnknownUser
© 2020 Ultranauts - 75 Broad Street, 2nd Floor, Suite 206, New York, NY 10004 - info@ultranauts.co