From 7724facd92df813929c0922d6555a649321bfc22 Mon Sep 17 00:00:00 2001 From: Gianmaria Del Monte Date: Thu, 29 Sep 2022 11:22:30 +0200 Subject: [PATCH 1/2] add user description to public share --- cs3/sharing/link/v1beta1/resources.proto | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cs3/sharing/link/v1beta1/resources.proto b/cs3/sharing/link/v1beta1/resources.proto index 601f35f9..540770c8 100644 --- a/cs3/sharing/link/v1beta1/resources.proto +++ b/cs3/sharing/link/v1beta1/resources.proto @@ -107,6 +107,9 @@ message PublicShare { // A bool value indicating if the link is the quicklink // the server will enforce a maximum of 1 quicklink per resource bool quicklink = 13; + // OPTIONAL + // Description of the share. + string description = 14; } // The permissions for a share. From 43b8cf3e60c6aa81005fdb74044544e12785118e Mon Sep 17 00:00:00 2001 From: Gianmaria Del Monte Date: Thu, 29 Sep 2022 13:32:52 +0200 Subject: [PATCH 2/2] allow update description for a public link --- cs3/sharing/link/v1beta1/link_api.proto | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cs3/sharing/link/v1beta1/link_api.proto b/cs3/sharing/link/v1beta1/link_api.proto index 3c0d3fbf..4625572d 100644 --- a/cs3/sharing/link/v1beta1/link_api.proto +++ b/cs3/sharing/link/v1beta1/link_api.proto @@ -123,6 +123,7 @@ message UpdatePublicShareRequest { TYPE_PASSWORD = 2; TYPE_EXPIRATION = 3; TYPE_DISPLAYNAME = 4; + TYPE_DESCRIPTION = 5; } // REQUIRED. // Defines the field to update. @@ -133,6 +134,9 @@ message UpdatePublicShareRequest { // OPTIONAL // Defines the public link display name. string display_name = 5; + // OPTIONAL + // Defines the public link description. + string description = 6; } Update update = 3; }