[users at bb.net] ControlEndPoint configuration

honas grael honasgraeymael at gmail.com
Wed Oct 16 20:20:58 UTC 2019


Hello, looking at the docs I have in my master.cf

from buildbot.plugins import *authz = util.Authz(
  allowRules=[
    util.AnyControlEndpointMatcher(role="admins"),
  ],
  roleMatchers=[
    util.RolesFromEmails(admins=["joe"])
  ])auth=util.UserPasswordAuth({'joe': 'mypass'})c['www']['auth'] =
authc['www']['authz'] = authz



When I look at the web UI the "REBUILD" button is still visible &
accessible even when I am not logged in

I thought these entries would make the status/progress of builds
visible to anyone (anonymous users) but all control buttons such as
"rebuild"

, Force etc not visible. I was expecting that only when logged in as
joe the buttons to be visible.


I would like to have everything read only to all users, but control of
any kind available only to the user joe


What am I doing wrong here?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildbot.net/pipermail/users/attachments/20191016/16631105/attachment.html>


More information about the users mailing list