-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
introduce 'team', as an indirection between users and instances #601
Comments
At a minimum this requires
though the latter is likely too constraining and needs to be a many-to-many. To satisfy the main use case, the invitation feature will need to move from 'instance' to 'team'. As a corollary, the 'uninvite' feature - denying users access to instances - should also move. Creation and deletion of instances moves to 'team' too. A user's list of accessible instances should indicate the team, e.g. group the instances by team. Any user can create teams, and, delete teams they have access to. The latter should probably just mark them as disabled and disable access by probes with team instances' tokens. Later we can then add some way to resurrect disabled teams. As with instances at present, team names should be random. We can improve on that later. |
My opinion is that teams should be similar to github. Where they are many-to-many from users to instances. This means we want something akin to a github organization to contain all these. |
+1 for GitHub-like behaviour. |
A few notes: Billing
UI
|
Isn't that just https://cloud.weave.works/instances? |
Except when we allow many-many team-user mappings. Regarding that, I reckon the UX/UI will actually be easier with that. It eliminates awkward issues like "what team does a user belong to when they first sign up?" "What happens when a user belonging to one team is invited to another?" On that note, the whole invite functionality needs changing - users would be invited to a team, not an instance. |
Yes, it will just show more instances depending on which team they belong to.
The dropdown (top right) which allows to select instances could also show the team the instance belongs to (if they user belongs to more than one team). |
It has not been explicitly said: |
High level task breakdown First iteration - introduce teams
then
then
then
then
State up to this point
Second iteration - move trials to teams
State up to this point:
Third iteration - move billing to teams
then
then
|
Status update
Some screenshots: Instances page which includes instance which don't have teams: Create instance page, allows to enter a team name: Create instance page, once the user is already part of a team. Instances pages now includes instances with teams and without teams. A dropdown can be used to filter: The team page includes an additional text field, if the instance is part of a team: |
IMO that's overkill. Suggestions:
|
vs
Under what circumstances would a user not be part of a team, and hence see the former? |
|
I suggested the following defaults for id: foo-bar-23, name: "Foo Bar 23", team: "Foo Bar 23 Team", for instances and teams being created for a new user during onboarding. The wireframes by @bowenli LGTM. |
Related: https://github.com/weaveworks/service-ui/pull/1446 |
https://github.com/weaveworks/service-ui/pull/1470 now looks like: |
LGTM |
Status update
|
Minor suggestion: The team drop down should probably be titled "Team" not "Team name" |
On the Settings > Team page, how do I see a different team? Is it based on the current instance? |
@bowenli yes |
Following #581, users will have access to multiple instances, and instances can be accessed by multiple users.
That becomes a bit of a headache quite quickly:
Furthermore, the notion of teams is very common across other services, such as github, CI systems, issue trackers, etc, etc. So new users to Weave Cloud will likely miss it.
The text was updated successfully, but these errors were encountered: