From 32a470341b6371aaac7f5ccf657ac847526b867f Mon Sep 17 00:00:00 2001 From: David Christofas Date: Tue, 13 Sep 2022 19:32:38 +0200 Subject: [PATCH] add more share filters Added share filters to filter shares by space id and by state --- .../collaboration/v1beta1/resources.proto | 4 +++ docs/index.html | 26 +++++++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/cs3/sharing/collaboration/v1beta1/resources.proto b/cs3/sharing/collaboration/v1beta1/resources.proto index 7e852604..8c3c6f92 100644 --- a/cs3/sharing/collaboration/v1beta1/resources.proto +++ b/cs3/sharing/collaboration/v1beta1/resources.proto @@ -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; @@ -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; } } diff --git a/docs/index.html b/docs/index.html index c1c03b01..973e5b06 100644 --- a/docs/index.html +++ b/docs/index.html @@ -10778,6 +10778,20 @@

Filter

+ + space_id + string + +

+ + + + state + ShareState + +

+ + @@ -11119,6 +11133,18 @@

Filter.Type

+ + TYPE_SPACE_ID + 7 +

+ + + + TYPE_STATE + 8 +

+ +