<div dir="ltr"><div><div><div>How do you grant the permission to "rebuild" to multiple groups? I have an "admin" group with all permissions, but I want to give a "developers" group this permission as well, but not the other permissions.<br><br></div>So I tried adding `RebuildBuildEndpointMatcher(role="developers")` to my Authz's allowRules list like:<br><br>    authz = util.Authz(<br>      allowRules=[<br>        util.StopBuildEndpointMatcher(role="admins"),<br>        util.ForceBuildEndpointMatcher(role="admins"),<br>        util.RebuildBuildEndpointMatcher(role="admins"),<br>        util.RebuildBuildEndpointMatcher(role="developers") # added this<br>      ],<br>      roleMatchers=[<br>        util.RolesFromEmails(admins=["...admin emails..."]),<br>        util.RolesFromUsername(roles=["admins"], usernames=["...admin usernames..."]),<br>        util.RolesFromUsername(roles=["developers"], usernames=["...developer usernames..."])<br>      ]<br>    )<br><br></div>However, when a developer clicks the "Rebuild" they still get the error about not being an admin.<br><br></div>Why isn't this configuration working?<br></div>