Tags:
create new tag
view all tags
---+ Package =TWiki::AccessControlException= Exception used raise an access control violation. This exception has the following fields: * =web= - the web which was being accessed * =topic= - the topic being accessed (if any) * =user= - canonical username of the person doing the accessing. Use the methods of the TWiki::Users class to get more information about the user. * =mode= - the access mode e.g. CHANGE, VIEW etc * =reason= a text string giving the reason for the refusal. 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). %TOC% ---++ ClassMethod *new* <tt>($mode,$user,$web,$topic,$reason)</tt> * =$mode= - mode of access (view, change etc) * =$user= - canonical user name of user doing the accessing * =$web= - web being accessed * =$topic= - topic being accessed * =$reason= - string reason for failure All the above fields are accessible from the object in a catch clause in the usual way e.g. =$e->{web}= and =$e->{reason}= ---++ ObjectMethod *stringify* <tt>() -> $string</tt> Generate a summary string. This is mainly for debugging.
E
dit
|
A
nexar
|
Watch
|
Im
p
rimir
|
H
istórico
: r2
<
r1
|
We
b
|
V
er tópico
|
Ra
w
edit
|
M
ais ações de tópico
Versão do tópico: r2 - 22 Jan 2008
-
TWikiContributor
Home
Site map
Main web
Sandbox web
TWiki web
Web TWiki
User registration
Usuários
Grupos
Índice
Busca
Alterações
Notificações
Fonte RSS
Estatísticas
Preferências
Ver
Raw View
Print version
Find backlinks
History
More topic actions
Editar
Editar modo texto
Attach file or image
Editar preferências do tópico
Marcar novo tópico pai
More topic actions
Referência do usuário
ATasteOfTWiki
TextFormattingRules
TWikiVariables
FormattedSearch
QuerySearch
TWikiDocGraphics
TWikiSkinBrowser
InstalledPlugins
Manutenção Administrativa
Reference Manual
InterWikis
ManagingUsers
ManagingWebs
TWikiSiteTools
TWikiPreferences
WebPreferences
Categorias
Admin Documentation
Admin Tools
Developer Doc
User Documentation
User Tools
Account
Iniciar sessão
Български
Cesky
Dansk
Deutsch
English
Español
_Français_
Italiano
日本語
한글
Nederlands
Polski
Português
Русский
Svenska
简体中文
簡體中文
E
dit
A
nexar
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Idéias, solicitações, problemas com relação ao TWiki?
Nos dê um retorno
Note:
Please contribute updates to this topic on TWiki.org at
TWiki:TWiki.TWikiAccessControlExceptionDotPm
.