How do you grant your user the ability to stop/resume builds?
I'm able to login using "[email protected]", and Buildbot shows an
icon for my user with a logout link, but when I try to stop a build, I get
the error message:
Cannot Stop: you need to have role 'admins'
My auth setup looks like:
authz = util.Authz(
allowRules=[
util.StopBuildEndpointMatcher(role="admins"),
util.ForceBuildEndpointMatcher(role="admins"),
util.RebuildBuildEndpointMatcher(role="admins")
],
roleMatchers=[
util.RolesFromEmails(admins=["[email protected]"])
]
)
c['www'] = dict(
port=8010,
plugins=dict(waterfall_view={}, console_view={}),
auth=util.RemoteUserAuth(),
authz=authz,
)
What am I doing wrong?
_______________________________________________
users mailing list
[email protected]
https://lists.buildbot.net/mailman/listinfo/users