From 222275973b7a092df4053f76553e0bd0071b9bdb Mon Sep 17 00:00:00 2001 From: Giuseppe Lo Presti Date: Wed, 15 Sep 2021 11:36:02 +0200 Subject: [PATCH] Add filter to exclude denials in listing of shares --- cs3/sharing/collaboration/v1beta1/resources.proto | 3 ++- docs/index.html | 8 +++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/cs3/sharing/collaboration/v1beta1/resources.proto b/cs3/sharing/collaboration/v1beta1/resources.proto index fe677183..6419df27 100644 --- a/cs3/sharing/collaboration/v1beta1/resources.proto +++ b/cs3/sharing/collaboration/v1beta1/resources.proto @@ -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 } @@ -172,6 +172,7 @@ message Filter { TYPE_OWNER = 3; TYPE_CREATOR = 4; TYPE_GRANTEE_TYPE = 5; + TYPE_EXCLUDE_DENIALS = 6; } // REQUIRED. Type type = 2; diff --git a/docs/index.html b/docs/index.html index 5e8b8890..9a9225d8 100644 --- a/docs/index.html +++ b/docs/index.html @@ -10360,7 +10360,7 @@

SharePermissions

permissions cs3.storage.provider.v1beta1.ResourcePermissions -

TODO(labkode): additional permissions for shares like re-sharing

+

TODO(labkode): additional permissions for shares like re-sharing and denying

@@ -10448,6 +10448,12 @@

Filter.Type

+ + TYPE_EXCLUDE_DENIALS + 6 +

+ +