Skip to content

Commit

Permalink
add more share filters
Browse files Browse the repository at this point in the history
Added share filters to filter shares by space id and by state
  • Loading branch information
David Christofas committed Sep 13, 2022
1 parent 1dbd99f commit f12f75a
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cs3/sharing/collaboration/v1beta1/resources.proto
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,8 @@ message Filter {
TYPE_CREATOR = 4;
TYPE_GRANTEE_TYPE = 5;
TYPE_EXCLUDE_DENIALS = 6;
TYPE_SPACE_ID = 7;
TYPE_STATE = 8;
}
// REQUIRED.
Type type = 2;
Expand All @@ -184,5 +186,7 @@ message Filter {
cs3.identity.user.v1beta1.UserId owner = 4;
cs3.identity.user.v1beta1.UserId creator = 5;
storage.provider.v1beta1.GranteeType grantee_type = 6;
string space_id = 7;
ShareState state = 8;
}
}
26 changes: 26 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10778,6 +10778,20 @@ <h3 id="cs3.sharing.collaboration.v1beta1.Filter">Filter</h3>
<td><p> </p></td>
</tr>

<tr>
<td>space_id</td>
<td><a href="#string">string</a></td>
<td></td>
<td><p> </p></td>
</tr>

<tr>
<td>state</td>
<td><a href="#cs3.sharing.collaboration.v1beta1.ShareState">ShareState</a></td>
<td></td>
<td><p> </p></td>
</tr>

</tbody>
</table>

Expand Down Expand Up @@ -11119,6 +11133,18 @@ <h3 id="cs3.sharing.collaboration.v1beta1.Filter.Type">Filter.Type</h3>
<td><p></p></td>
</tr>

<tr>
<td>TYPE_SPACE_ID</td>
<td>7</td>
<td><p></p></td>
</tr>

<tr>
<td>TYPE_STATE</td>
<td>8</td>
<td><p></p></td>
</tr>

</tbody>
</table>

Expand Down

0 comments on commit f12f75a

Please sign in to comment.