vmware / cloud-provider-for-cloud-director

Kubernetes External Cloud Provider for VMware Cloud Director
Other
20 stars 30 forks source link

[VKCI-288] Include member ID in the ACL grant API #340

Closed Anirudh9794 closed 10 months ago

Anirudh9794 commented 10 months ago

The API call for creating an ACL grant will fail without memberId field. The tenant reference field is also not required for the API call to succeed.


This change is Reviewable

arunmk commented 10 months ago

pkg/vcdswaggerclient_37_2/model_access_control_grant.go line 20 at r1 (raw file):

  //Tenant *EntityReference `json:"tenant,omitempty"` -> This doesn't work even with Postman
  // The tenant this grant applies in. This is referenced by their organization ID.
  MemberId string `json:"memberId"`

can you rename this file to model_access_control_grant_modified.go so that we know the files that have been modified the next time we look at them.