Package buildbot :: Package status :: Package web :: Module authz :: Class Authz
[frames] | no frames]

Class Authz

source code

object --+
         |
        Authz

Decide who can do what.

Instance Methods
 
__init__(self, default_action=False, auth=None, **kwargs)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
advertiseAction(self, action)
Should the web interface even show the form for ACTION?
source code
 
needAuthForm(self, action)
Does this action require an authentication form?
source code
 
actionAllowed(self, action, request, *args)
Is this ACTION allowed, given this http REQUEST?
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables
  knownActions = ['gracefulShutdown', 'forceBuild', 'forceAllBui...
Properties

Inherited from object: __class__

Method Details

__init__(self, default_action=False, auth=None, **kwargs)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

Class Variable Details

knownActions

Value:
['gracefulShutdown',
 'forceBuild',
 'forceAllBuilds',
 'pingBuilder',
 'stopBuild',
 'stopAllBuilds',
 'cancelPendingBuild',
 'stopChange',
...