<div dir="ltr">Yep, adding RolesFromUsername fixed the problem. Thanks.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 24, 2017 at 10:34 AM, Chris Spencer <span dir="ltr"><<a href="mailto:chrisspen@gmail.com" target="_blank">chrisspen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">No, I'm still unable to perform any actions. The "user" section on the about page shows that it's reading the basic auth credentials, although it looks like it's mangling my login.<br><br>I'm using <a href="mailto:myusername@mydomain.com" target="_blank">myusername@mydomain.com</a> to login, but Buildbot user section shows:<br><br>username   myusername<br>realm         <a href="http://mydomain.com" target="_blank">mydomain.com</a><br>email         myusername<br><br>Presumably, it's blocking me because my config has an email address, but it's effectively checking with a username.<br><br>I'll try the RolesFromUsername class.<div><div class="h5"><br><br>On Fri, Feb 24, 2017 at 7:23 AM, Pierre Tardy <<a href="mailto:tardyp@gmail.com" target="_blank">tardyp@gmail.com</a>> wrote:<br>><br>> Hi Chris,<br>> Did you resolve this issue?<br>> I am not sure if email property is populated by default if you are using solely RemoteUserAuth.<br>> You might need to implement or use an existing user info provider.<br>> <a href="http://docs.buildbot.net/latest/manual/cfg-www.html#user-information" target="_blank">http://docs.buildbot.net/<wbr>latest/manual/cfg-www.html#<wbr>user-information</a><br>><br>> Perhaps using RolesFromUsername might help as well.<br>> <a href="http://docs.buildbot.net/latest/manual/cfg-www.html#buildbot.www.authz.roles.RolesFromUsername" target="_blank">http://docs.buildbot.net/<wbr>latest/manual/cfg-www.html#<wbr>buildbot.www.authz.roles.<wbr>RolesFromUsername</a><br>><br>> You can see in the about page more details about what user information has been set by your authentication plugins<br>> e.g. <a href="http://nine.buildbot.net/#/about" target="_blank">http://nine.buildbot.net/#/<wbr>about</a><br>><br>><br>><br>> On Tue, Feb 21, 2017 at 4:54 AM Chris Spencer <<a href="mailto:chrisspen@gmail.com" target="_blank">chrisspen@gmail.com</a>> wrote:<br>>><br>>> How do you grant your user the ability to stop/resume builds?<br>>><br>>> I'm able to login using "<a href="mailto:myusername@mydomain.com" target="_blank">myusername@mydomain.com</a>", 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:<br>>><br>>>     Cannot Stop: you need to have role 'admins'<br>>><br>>> My auth setup looks like:<br>>><br>>>     authz = util.Authz(<br>>>       allowRules=[<br>>>         util.StopBuildEndpointMatcher(<wbr>role="admins"),<br>>>         util.<wbr>ForceBuildEndpointMatcher(<wbr>role="admins"),<br>>>         util.<wbr>RebuildBuildEndpointMatcher(<wbr>role="admins")<br>>>       ],<br>>>       roleMatchers=[<br>>>         util.RolesFromEmails(admins=["<a href="mailto:myusername@mydomain.com" target="_blank"><wbr>myusername@mydomain.com</a>"])<br>>>       ]<br>>>     )<br>>>     c['www'] = dict(<br>>>         port=8010,<br>>>         plugins=dict(waterfall_view={}<wbr>, console_view={}),<br>>>         auth=util.RemoteUserAuth(),<br>>>         authz=authz,<br>>>     )<br>>><br>>> What am I doing wrong?<br>>> ______________________________<wbr>_________________<br>>> users mailing list<br>>> <a href="mailto:users@buildbot.net" target="_blank">users@buildbot.net</a><br>>> <a href="https://lists.buildbot.net/mailman/listinfo/users" target="_blank">https://lists.buildbot.net/<wbr>mailman/listinfo/users</a><br></div></div></div>
</blockquote></div><br></div>