Skip to content

Commit

Permalink
Add filter to exclude denials in listing of shares (#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
glpatcern authored Sep 16, 2021
1 parent 63c2cee commit 4967603
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
3 changes: 2 additions & 1 deletion cs3/sharing/collaboration/v1beta1/resources.proto
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ message Share {
// The permissions for a share.
message SharePermissions {
storage.provider.v1beta1.ResourcePermissions permissions = 1;
// TODO(labkode): additional permissions for shares like re-sharing
// TODO(labkode): additional permissions for shares like re-sharing and denying

}

Expand Down Expand Up @@ -172,6 +172,7 @@ message Filter {
TYPE_OWNER = 3;
TYPE_CREATOR = 4;
TYPE_GRANTEE_TYPE = 5;
TYPE_EXCLUDE_DENIALS = 6;
}
// REQUIRED.
Type type = 2;
Expand Down
8 changes: 7 additions & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10360,7 +10360,7 @@ <h3 id="cs3.sharing.collaboration.v1beta1.SharePermissions">SharePermissions</h3
<td>permissions</td>
<td><a href="#cs3.storage.provider.v1beta1.ResourcePermissions">cs3.storage.provider.v1beta1.ResourcePermissions</a></td>
<td></td>
<td><p>TODO(labkode): additional permissions for shares like re-sharing </p></td>
<td><p>TODO(labkode): additional permissions for shares like re-sharing and denying </p></td>
</tr>

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

<tr>
<td>TYPE_EXCLUDE_DENIALS</td>
<td>6</td>
<td><p></p></td>
</tr>

</tbody>
</table>

Expand Down

0 comments on commit 4967603

Please sign in to comment.