You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rather than deploy-time, I'm thinking this should be done via fly. That would also make the Vagrant-built boxes more useful; right now they have no auth making the AWS box pretty useless. You'd also have to keep it in sync with your pipelines (and what if you configure the pipeline first, etc. etc.).
It also shouldn't go in the pipeline template, since those should be reusable and generic. So maybe something like:
...Which you'd then just stow away in a script somewhere safe for keeping it up to date.
There are other details to think about, i.e. what's the default for new pipelines. Maybe the flags are required as part of set-pipeline if it's a new one? Hmm.
Out of the box, there's a default admin team. Tokens authorized for this team can create other teams and see everything (today's behavior).
Teams can create pipelines, and pipelines are owned by one team. Pipelines are cheap to create and they're encouraged for managing feature branches and concurrently supported versions, so the auth barrier to configuring them should be low.
Teams would also be able to change their own credentials. This would make it easier to manage leaked credentials without relying on a superuser. It also makes the out-of-the-box experience a bit more intuitive; there'd be a default team and you can change its credentials. This would make the AWS box way more useful, too; right now it's wide open with no auth.
The delta from today:
fly set-team would be added for reconfiguring an existing team. Superusers can run this command (which will create the team if it doesn't exist), and members of the specified team can run it to update the credentials.
The AWS vagrant box would come with a default superuser team.
publicly_viewable would be moved to a per-pipeline basis.
If a pipeline is not publicly_viewable, it will only show up in the sidebar if you're logged in.
We'll need to make the login button more prominent (and exist at all), and probably to show you who you're logged in as (i.e. github user / basic auth username) to prevent confusion ("where'd my pipeline go?").
Pipelines would become namespaced under their team, and grouped in the sidebar. The current team would show up up top.
My use case around this is that I have multiple teams with low resource needs. I'd like to be able to provision a Concourse with medium/high resource levels and give individual teams access to their pipelines. Assuming that those with access are acting responsibly, they should be able to share an ATC and many workers without resource contention, but should only be able to modify the pipelines for their team.
Ultimately, I'd like to be in the position where someone in my circle of trust can say "I wish I had Concourse, but deploying it is too hard", and I can say "I know your GitHub team is foo/bar. I've given you a foo-bar pipeline. Have fun."
Activity
concourse-bot commentedon Aug 5, 2015
Hi there!
We use Pivotal Tracker to provide visibility into what our team is working on. A story for this issue has been automatically created.
The current status is as follows:
fly pipelinesshould by default only list my current team's pipelinesfly containersshould only show my team's containersset-pipelineis wrong (always says teammain)fly volumesshould only show my team's volumesfly workersshould list the team's dedicated workers, with a column showing their teamset-teamcommandThis comment, as well as the labels on the issue, will be automatically updated as the status in Tracker changes.
bump tail logrus gunk hdrhistogram metrics cli atc blackbox fly proto…
vito commentedon Oct 28, 2015
Rather than deploy-time, I'm thinking this should be done via
fly. That would also make the Vagrant-built boxes more useful; right now they have no auth making the AWS box pretty useless. You'd also have to keep it in sync with your pipelines (and what if you configure the pipeline first, etc. etc.).It also shouldn't go in the pipeline template, since those should be reusable and generic. So maybe something like:
...Which you'd then just stow away in a script somewhere safe for keeping it up to date.
There are other details to think about, i.e. what's the default for new pipelines. Maybe the flags are required as part of
set-pipelineif it's a new one? Hmm.vito commentedon Oct 29, 2015
Thinking about this a bit more, I suspect we'll need two tiers of auth:
Teams would be created + updated like so:
Out of the box, there's a default
adminteam. Tokens authorized for this team can create other teams and see everything (today's behavior).Teams can create pipelines, and pipelines are owned by one team. Pipelines are cheap to create and they're encouraged for managing feature branches and concurrently supported versions, so the auth barrier to configuring them should be low.
Teams would also be able to change their own credentials. This would make it easier to manage leaked credentials without relying on a superuser. It also makes the out-of-the-box experience a bit more intuitive; there'd be a default team and you can change its credentials. This would make the AWS box way more useful, too; right now it's wide open with no auth.
The delta from today:
fly set-teamwould be added for reconfiguring an existing team. Superusers can run this command (which will create the team if it doesn't exist), and members of the specified team can run it to update the credentials.defaultsuperuser team.publicly_viewablewould be moved to a per-pipeline basis.publicly_viewable, it will only show up in the sidebar if you're logged in.nicorikken commentedon Nov 30, 2015
+1
wendorf commentedon May 9, 2016
My use case around this is that I have multiple teams with low resource needs. I'd like to be able to provision a Concourse with medium/high resource levels and give individual teams access to their pipelines. Assuming that those with access are acting responsibly, they should be able to share an ATC and many workers without resource contention, but should only be able to modify the pipelines for their team.
Ultimately, I'd like to be in the position where someone in my circle of trust can say "I wish I had Concourse, but deploying it is too hard", and I can say "I know your GitHub team is foo/bar. I've given you a foo-bar pipeline. Have fun."
concourse-bot commentedon Aug 25, 2016
Hello again!
All stories related to this issue have been accepted, so I'm going to automatically close this issue.
At the time of writing, the following stories have been accepted:
fly pipelinesshould by default only list my current team's pipelinesfly containersshould only show my team's containersset-pipelineis wrong (always says teammain)fly volumesshould only show my team's volumesfly workersshould list the team's dedicated workers, with a column showing their teamset-teamcommandIf you feel there is still more to be done, or if you have any questions, leave a comment and we'll reopen if necessary!
vito commentedon Aug 25, 2016
BAM
xoebus commentedon Aug 25, 2016
DANG. WHAT'S UP WITH ALL THESE STORIES.
drnic commentedon Aug 25, 2016
Awesome work!
On Thu, Aug 25, 2016 at 3:08 PM +1000, "Christopher Brown" [email protected] wrote:
DANG. WHAT'S UP WITH ALL THESE STORIES.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
bump fly
bump etree tsa handlers mux clockwork goxmldsig genproto grpc