summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcello Stanisci <marcello.stanisci@inria.fr>2016-12-22 15:40:00 +0100
committerMarcello Stanisci <marcello.stanisci@inria.fr>2016-12-22 15:40:00 +0100
commit9a76c7ee1c3b843d98518b28edaee539b923fe75 (patch)
tree67ff44deb32a5ed69a894a5bb7cc9ee279bfe08d
parent67612b482a6b190b4fee680199558aa7160a42ed (diff)
downloaddeployment-9a76c7ee1c3b843d98518b28edaee539b923fe75.tar.gz
deployment-9a76c7ee1c3b843d98518b28edaee539b923fe75.tar.bz2
deployment-9a76c7ee1c3b843d98518b28edaee539b923fe75.zip
Logging by e-mail address
-rw-r--r--buildbot/master-lonelyslave.cfg5
1 files changed, 3 insertions, 2 deletions
diff --git a/buildbot/master-lonelyslave.cfg b/buildbot/master-lonelyslave.cfg
index e361136..da9ad4a 100644
--- a/buildbot/master-lonelyslave.cfg
+++ b/buildbot/master-lonelyslave.cfg
@@ -161,11 +161,12 @@ authz = util.Authz(
util.RebuildBuildEndpointMatcher(role="admins")
],
roleMatchers=[
- util.RolesFromUsername(roles=["admins"], usernames=["marcello"])
+ util.RolesFromEmails(admins=["marcello.stanisci@inria.fr"])
]
)
-c['www']['auth'] = util.UserPasswordAuth({"marcello": "taler"})
+auth=util.UserPasswordAuth({'marcello.stanisci@inria.fr': 'mstantaler'})
+c['www']['auth'] = auth
c['www']['authz'] = authz
####### PROJECT IDENTITY