From f2e6ef97f417ee4751d0ff0cb0d7be2be42df162 Mon Sep 17 00:00:00 2001
From: ko_oler <kooler89@gmail.com>
Date: Tue, 26 Dec 2023 14:59:54 +0300
Subject: [PATCH] =?UTF-8?q?=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?=
 =?UTF-8?q?=D0=BD=20Deprecated=20=D0=BA=D0=BE=D0=BC=D0=BC=D0=B5=D0=BD?=
 =?UTF-8?q?=D1=82=D0=B0=D1=80=D0=B8=D0=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 proto/collections/collections.proto | 3 +++
 proto/common/common.proto           | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/proto/collections/collections.proto b/proto/collections/collections.proto
index f6601d8..b162e3f 100644
--- a/proto/collections/collections.proto
+++ b/proto/collections/collections.proto
@@ -11,8 +11,11 @@ package content.collections;
 message Access {
   repeated common.Action actions = 1;
   repeated string hidden_fields = 5;
+
+  // Deprecated
   repeated string readonly_fields = 6;
   repeated string writeonly_fields = 7;
+
   repeated string deny_read_fields = 8;
   repeated string deny_write_fields = 9;
 }
diff --git a/proto/common/common.proto b/proto/common/common.proto
index edee74c..3221bdc 100644
--- a/proto/common/common.proto
+++ b/proto/common/common.proto
@@ -40,8 +40,11 @@ message Rule {
   repeated Action actions = 2;
   Access access = 3;
   repeated string hidden_fields = 5;
+
+  // Deprecated
   repeated string readonly_fields = 6;
   repeated string writeonly_fields = 7;
+
   string read_filter = 8;
   string write_filter = 9;
   repeated string deny_read_fields = 10;
-- 
GitLab