<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">myusername@mydomain.com</a> to login, but Buildbot user section shows:<br><br>username   myusername<br>realm         <a href="http://mydomain.com">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.<br><br>On Fri, Feb 24, 2017 at 7:23 AM, Pierre Tardy <<a href="mailto:tardyp@gmail.com">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">http://docs.buildbot.net/latest/manual/cfg-www.html#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">http://docs.buildbot.net/latest/manual/cfg-www.html#buildbot.www.authz.roles.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">http://nine.buildbot.net/#/about</a><br>><br>><br>><br>> On Tue, Feb 21, 2017 at 4:54 AM Chris Spencer <<a href="mailto:chrisspen@gmail.com">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">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(role="admins"),<br>>>         util.ForceBuildEndpointMatcher(role="admins"),<br>>>         util.RebuildBuildEndpointMatcher(role="admins")<br>>>       ],<br>>>       roleMatchers=[<br>>>         util.RolesFromEmails(admins=["<a href="mailto:myusername@mydomain.com">myusername@mydomain.com</a>"])<br>>>       ]<br>>>     )<br>>>     c['www'] = dict(<br>>>         port=8010,<br>>>         plugins=dict(waterfall_view={}, console_view={}),<br>>>         auth=util.RemoteUserAuth(),<br>>>         authz=authz,<br>>>     )<br>>><br>>> What am I doing wrong?<br>>> _______________________________________________<br>>> users mailing list<br>>> <a href="mailto:users@buildbot.net">users@buildbot.net</a><br>>> <a href="https://lists.buildbot.net/mailman/listinfo/users">https://lists.buildbot.net/mailman/listinfo/users</a><br></div>