Revision
81625
Author
wsiegrist@apple.com
Date
2011-08-02 21:36:41 -0700 (Tue, 02 Aug 2011)

Log Message

Require credentials for all operations

Modified Paths

Diff

Modified: contrib/buildbot/master.cfg (81624 => 81625)


--- contrib/buildbot/master.cfg	2011-08-03 03:45:44 UTC (rev 81624)
+++ contrib/buildbot/master.cfg	2011-08-03 04:36:41 UTC (rev 81625)
@@ -242,16 +242,17 @@
 
 from buildbot.status import html
 from buildbot.status.web import auth, authz
+from buildbot.status.web.auth import HTPasswdAuth
+htauth = HTPasswdAuth('htpasswd')
 authz_cfg=authz.Authz(
-    # change any of these to True to enable; see the manual for more
-    # options
-    gracefulShutdown = False,
-    forceBuild = True, # use this to test your slave once it is set up
-    forceAllBuilds = False,
-    pingBuilder = False,
-    stopBuild = True,
-    stopAllBuilds = False,
-    cancelPendingBuild = False,
+    auth=htauth,
+    gracefulShutdown = 'auth',
+    forceBuild = 'auth',
+    forceAllBuilds = 'auth',
+    pingBuilder = 'auth',
+    stopBuild = 'auth',
+    stopAllBuilds = 'auth',
+    cancelPendingBuild = 'auth',
 )
 
 ####### PROJECT IDENTITY