Skip to content

Commit c22c41c

Browse files
authored
ensure ProjectServiceRemoveMemberRequest can be triggered as PROJECT_ROLE_VIEWER (#67)
1 parent 81d8457 commit c22c41c

File tree

18 files changed

+847
-184
lines changed

18 files changed

+847
-184
lines changed

doc/index.html

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1408,6 +1408,14 @@ <h2>Table of Contents</h2>
14081408
<a href="#metalstack.api.v2.TenantServiceInvitesListResponse"><span class="badge">M</span>TenantServiceInvitesListResponse</a>
14091409
</li>
14101410

1411+
<li>
1412+
<a href="#metalstack.api.v2.TenantServiceLeaveRequest"><span class="badge">M</span>TenantServiceLeaveRequest</a>
1413+
</li>
1414+
1415+
<li>
1416+
<a href="#metalstack.api.v2.TenantServiceLeaveResponse"><span class="badge">M</span>TenantServiceLeaveResponse</a>
1417+
</li>
1418+
14111419
<li>
14121420
<a href="#metalstack.api.v2.TenantServiceListRequest"><span class="badge">M</span>TenantServiceListRequest</a>
14131421
</li>
@@ -1786,6 +1794,14 @@ <h2>Table of Contents</h2>
17861794
<a href="#metalstack.api.v2.ProjectServiceInvitesListResponse"><span class="badge">M</span>ProjectServiceInvitesListResponse</a>
17871795
</li>
17881796

1797+
<li>
1798+
<a href="#metalstack.api.v2.ProjectServiceLeaveRequest"><span class="badge">M</span>ProjectServiceLeaveRequest</a>
1799+
</li>
1800+
1801+
<li>
1802+
<a href="#metalstack.api.v2.ProjectServiceLeaveResponse"><span class="badge">M</span>ProjectServiceLeaveResponse</a>
1803+
</li>
1804+
17891805
<li>
17901806
<a href="#metalstack.api.v2.ProjectServiceListRequest"><span class="badge">M</span>ProjectServiceListRequest</a>
17911807
</li>
@@ -11858,6 +11874,37 @@ <h3 id="metalstack.api.v2.TenantServiceInvitesListResponse">TenantServiceInvites
1185811874

1185911875

1186011876

11877+
<h3 id="metalstack.api.v2.TenantServiceLeaveRequest">TenantServiceLeaveRequest</h3>
11878+
<p>TenantServiceLeaveTenantRequest is used to leave a tenant</p>
11879+
11880+
11881+
<table class="field-table">
11882+
<thead>
11883+
<tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
11884+
</thead>
11885+
<tbody>
11886+
11887+
<tr>
11888+
<td>login</td>
11889+
<td><a href="#string">string</a></td>
11890+
<td></td>
11891+
<td><p>Login of the tenant </p></td>
11892+
</tr>
11893+
11894+
</tbody>
11895+
</table>
11896+
11897+
11898+
11899+
11900+
11901+
<h3 id="metalstack.api.v2.TenantServiceLeaveResponse">TenantServiceLeaveResponse</h3>
11902+
<p>TenantServiceLeaveTenantResponse is the response payload to a leave tenant request</p>
11903+
11904+
11905+
11906+
11907+
1186111908
<h3 id="metalstack.api.v2.TenantServiceListRequest">TenantServiceListRequest</h3>
1186211909
<p>TenantServiceListRequest is the request payload of the tenant list request</p>
1186311910

@@ -12159,6 +12206,13 @@ <h3 id="metalstack.api.v2.TenantService">TenantService</h3>
1215912206
<td><p>Delete a tenant</p></td>
1216012207
</tr>
1216112208

12209+
<tr>
12210+
<td>Leave</td>
12211+
<td><a href="#metalstack.api.v2.TenantServiceLeaveRequest">TenantServiceLeaveRequest</a></td>
12212+
<td><a href="#metalstack.api.v2.TenantServiceLeaveResponse">TenantServiceLeaveResponse</a></td>
12213+
<td><p>Leave remove a member of a tenant</p></td>
12214+
</tr>
12215+
1216212216
<tr>
1216312217
<td>RemoveMember</td>
1216412218
<td><a href="#metalstack.api.v2.TenantServiceRemoveMemberRequest">TenantServiceRemoveMemberRequest</a></td>
@@ -14432,6 +14486,37 @@ <h3 id="metalstack.api.v2.ProjectServiceInvitesListResponse">ProjectServiceInvit
1443214486

1443314487

1443414488

14489+
<h3 id="metalstack.api.v2.ProjectServiceLeaveRequest">ProjectServiceLeaveRequest</h3>
14490+
<p>ProjectServiceLeaveRequest is used to leave a project</p>
14491+
14492+
14493+
<table class="field-table">
14494+
<thead>
14495+
<tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
14496+
</thead>
14497+
<tbody>
14498+
14499+
<tr>
14500+
<td>project</td>
14501+
<td><a href="#string">string</a></td>
14502+
<td></td>
14503+
<td><p>Project is the uuid of the project </p></td>
14504+
</tr>
14505+
14506+
</tbody>
14507+
</table>
14508+
14509+
14510+
14511+
14512+
14513+
<h3 id="metalstack.api.v2.ProjectServiceLeaveResponse">ProjectServiceLeaveResponse</h3>
14514+
<p>ProjectServiceLeaveResponse is the response payload to a leave project request</p>
14515+
14516+
14517+
14518+
14519+
1443514520
<h3 id="metalstack.api.v2.ProjectServiceListRequest">ProjectServiceListRequest</h3>
1443614521
<p>ProjectServiceListRequest is the request payload to list all projects</p>
1443714522

@@ -14733,6 +14818,13 @@ <h3 id="metalstack.api.v2.ProjectService">ProjectService</h3>
1473314818
<td><p>Update a project</p></td>
1473414819
</tr>
1473514820

14821+
<tr>
14822+
<td>Leave</td>
14823+
<td><a href="#metalstack.api.v2.ProjectServiceLeaveRequest">ProjectServiceLeaveRequest</a></td>
14824+
<td><a href="#metalstack.api.v2.ProjectServiceLeaveResponse">ProjectServiceLeaveResponse</a></td>
14825+
<td><p>Leave project</p></td>
14826+
</tr>
14827+
1473614828
<tr>
1473714829
<td>RemoveMember</td>
1473814830
<td><a href="#metalstack.api.v2.ProjectServiceRemoveMemberRequest">ProjectServiceRemoveMemberRequest</a></td>

go/metalstack/api/v2/apiv2connect/project.connect.go

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

go/metalstack/api/v2/apiv2connect/tenant.connect.go

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

0 commit comments

Comments
 (0)