buildbot / buildbot

Python-based continuous integration testing framework; your pull requests are more than welcome!
https://www.buildbot.net
GNU General Public License v2.0
5.24k stars 1.62k forks source link

Error 500 detected if AnyControlEndpointMatcher(role="admins") not correctly defined #3044

Open desurd opened 7 years ago

desurd commented 7 years ago

Associated files: master.cfg

function part: authorization part code issue: authz=util.Authz( allowRules=[util.AnyControlEndpointMatcher(role=["admins"])

issue description: error 500 detected on the chrome browser and builders are not present on the web interface buildbot checkconfig command does not detect the bad configuration state.

Change to do: authz=util.Authz( allowRules=[util.AnyControlEndpointMatcher(role="admins")

Corrective action: add a check in buildbot checkconfig command about the authorization part Check to add:

seankelly commented 7 years ago

Side note, the docs do have the right string.