Package TWiki::AccessControlException

Exception used raise an access control violation. This exception has the following fields:

The exception may be thrown by plugins. If a plugin throws the exception, it will normally be caught and the browser redirected to a login screen (if the user is not logged in) or reported (if they are and just don't have access).

Class Method new ($mode,$user,$web,$topic,$reason)

All the above fields are accessible from the object in a catch clause in the usual way e.g. $e->{web} and $e->{reason}

Object Method stringify () -> $string

Generate a summary string. This is mainly for debugging.



Topic TWikiAccessControlExceptionDotPm . { Edit | Attach | Backlinks: Web All webs | Printable | History: r2 < r1 More }