$ fly --version 5.1.0 $ fly -t dev userinfo username team/role mclemay main/owner $ fly -t dev teams -d name/role users groups main/owner bitbucket-cloud:mclemay none rnd/member bitbucket-cloud:mclemay none rnd/owner bitbucket-cloud:mclemay none rnd/viewer bitbucket-cloud:mclemay none $ fly -t dev login -n rnd logging in to team 'rnd' navigate to the following URL in your browser: http://concourse.etc.hosts/login?fly_port=61983 or enter token manually: error: user [mclemay] is not in team [rnd]
For good measure:
roles: - name: owner bitbucket-cloud: users: ["mclemay"] - name: member bitbucket-cloud: users: ["mclemay"] - name: viewer bitbucket-cloud: users: ["mclemay"]
That’s the file I use to configure the team. Obviously, this isn’t what I want, I’ve just wasted the latest couple concourse-related hours trying to sort this and have tried every permutation of bitbucket team/user of which I can think. I’ve tried the command line method for configuring the team. I’ve logged in to postgres to ensure my team “looks” right in the postgres table… I’ve tried setting the “teams” field under the owner role in the team configuration file, too, to no avail. I know the team is correct as I’d previously been using both team and user for configuring the main team in command line arguments in my web pod.
I can’t tell from the documentation if teams and users are meant to be two separate things, as in “user is in this team or has this user name” or “user is in this team and has this user name.”