-
Notifications
You must be signed in to change notification settings - Fork 0
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
Teams and Team Roles #169
Teams and Team Roles #169
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm still part way through reviewing this, but I have some comments so far. In addition to the below I can't see a data migration for moving existing racks from users to teams. Is this intentional? If we're relying on deleting everything and recreating it, has any thought on how to migrate the metrics been given?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I've finished my review though I may have further feedback when I can see the who thing together. In addition to my earlier comments, I also have the following feedback.
- The validation check for the uniqueness of team names should strip whitespace.
- There is currently no mechanism to add credits to a team. I presume that this is intended for a future PR.
- I wonder if showing the Project ID and Billing Account ID in the team page for non-super-admin users is useful.
- When removing a user from a team, "Delete" sounds scary. It should probably be renamed to "Remove from group" or something similar.
Should have added this to an earlier comment, but I'll add it now. This is looking good. There is obviously more work to be done, but what you have looks nice. |
6f737e5
to
42df008
Compare
@timalces I haven't seen anything requesting me to re-review this, so I assume that its not yet ready. If I've missed anything let me know. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for making those changes. I have a question about the delete racks migration, but other than this it looks good as far as it goes.
26ff794
to
d8055c0
Compare
Support new middleware
Remove status change actions for volumes and networks
Adds new
Team
andTeamRole
objects, allowing users assigned to the same team to have access to the same clusters.This can be tested with the work in progress openstack service branch exp/teams-2
Team
recordsTeamRole
. They can be assigned either as amember
oradmin
of the teamFurther updates/fixes needed
This must not be merged to main until the below is completed:
The openstack service will similarly need updating, e.g. to create racks against teams rather than users