Skip to content

Commit 4f2abde

Browse files
authored
feat(organization): Prevent update name of organization (#981)
Signed-off-by: Javier Rodriguez <[email protected]>
1 parent 8a76e2a commit 4f2abde

File tree

14 files changed

+63
-732
lines changed

14 files changed

+63
-732
lines changed

app/cli/cmd/organization.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ func newOrganizationCmd() *cobra.Command {
2929
cmd.AddCommand(
3030
newOrganizationList(),
3131
newOrganizationCreateCmd(),
32-
newOrganizationUpdateCmd(),
3332
newOrganizationSet(),
3433
newOrganizationLeaveCmd(),
3534
newOrganizationDescribeCmd(),

app/cli/cmd/organization_update.go

Lines changed: 0 additions & 53 deletions
This file was deleted.

app/cli/internal/action/org_update.go

Lines changed: 0 additions & 47 deletions
This file was deleted.

app/controlplane/api/controlplane/v1/organization.pb.go

Lines changed: 62 additions & 215 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/controlplane/api/controlplane/v1/organization.proto

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ option go_package = "github.com/chainloop-dev/chainloop/app/controlplane/api/con
2424

2525
service OrganizationService {
2626
rpc Create(OrganizationServiceCreateRequest) returns (OrganizationServiceCreateResponse);
27-
rpc Update(OrganizationServiceUpdateRequest) returns (OrganizationServiceUpdateResponse);
28-
2927
// List members in the organization
3028
rpc ListMemberships(OrganizationServiceListMembershipsRequest) returns (OrganizationServiceListMembershipsResponse);
3129
// Delete member from the organization
@@ -63,14 +61,3 @@ message OrganizationServiceCreateRequest {
6361
message OrganizationServiceCreateResponse {
6462
OrgItem result = 1;
6563
}
66-
67-
message OrganizationServiceUpdateRequest {
68-
string id = 1 [(buf.validate.field).string.uuid = true];
69-
// "optional" allow us to detect if the value is explicitly set
70-
// and not just the default balue
71-
optional string name = 2;
72-
}
73-
74-
message OrganizationServiceUpdateResponse {
75-
OrgItem result = 1;
76-
}

app/controlplane/api/controlplane/v1/organization_grpc.pb.go

Lines changed: 0 additions & 37 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)