-
Notifications
You must be signed in to change notification settings - Fork 77
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
Add team org role crud #1296
Add team org role crud #1296
Conversation
…d view org role via list command
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #1296 +/- ##
==========================================
+ Coverage 87.31% 87.34% +0.03%
==========================================
Files 113 113
Lines 13255 13327 +72
==========================================
+ Hits 11573 11641 +68
- Misses 992 994 +2
- Partials 690 692 +2
☔ View full report in Codecov by Sentry. |
cmd/cloud/organization.go
Outdated
@@ -327,6 +330,41 @@ func teamUpdate(cmd *cobra.Command, out io.Writer, args []string) error { | |||
return team.UpdateTeam(id, teamName, teamDescription, out, astroCoreClient) | |||
} | |||
|
|||
func newOrganizationTeamUpdateRoleCmd(out io.Writer) *cobra.Command { | |||
cmd := &cobra.Command{ | |||
Use: "update-org-role [team-id]", |
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 open to other cmd names lmk what you think
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 it should be part of the team update command because the org role is sort of property for the org team resource, and also it is a flag for the team create command, so it should also be the same flag for the team update command, wdyt?
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.
yeah makes sense done
Description
🎟 Issue(s)
Related #14652
🧪 Functional Testing
Tested against the pr preview of https://github.com/astronomer/astro/pull/14609
📋 Checklist
make test
before taking out of draftmake lint
before taking out of draft