We use a team in BuildKite to manage who can trigger builds. For most people on my team their initial build (when they push changes to a feature branch) fails with the error “Unauthorised to build”, but when they click “Rebuild” it runs fine.
This never happens to me, and the only difference I can see is that I am the “Team Maintainer”, while they are all “Team Members”. I’ve double checked the team name in our build kite environment config, and double checked all team members are part of the team, and the problem persists.
Any help in fixing this initial error state would be greatly appreciated. Thanks!