From 3f58190e14a27272b10fdbc6942745dd41bb7826 Mon Sep 17 00:00:00 2001
From: Pavel Antonov <antonov@perx.ru>
Date: Tue, 26 Dec 2023 11:31:30 +0000
Subject: [PATCH] Revert "Merge branch 'feature/PRXS-1726-UpdateRules' into
 'master'"

This reverts merge request !26
---
 proto/collections/collections.proto | 4 ++--
 proto/common/common.proto           | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/proto/collections/collections.proto b/proto/collections/collections.proto
index 970ac99..e7dd51f 100644
--- a/proto/collections/collections.proto
+++ b/proto/collections/collections.proto
@@ -11,8 +11,8 @@ package content.collections;
 message Access {
   repeated common.Action actions = 1;
   repeated string hidden_fields = 5;
-  repeated string deny_read_fields = 6;
-  repeated string deny_write_fields = 7;
+  repeated string readonly_fields = 6;
+  repeated string writeonly_fields = 7;
 }
 
 message Collection {
diff --git a/proto/common/common.proto b/proto/common/common.proto
index d68468a..a929133 100644
--- a/proto/common/common.proto
+++ b/proto/common/common.proto
@@ -40,8 +40,8 @@ message Rule {
   repeated Action actions = 2;
   Access access = 3;
   repeated string hidden_fields = 5;
-  repeated string deny_read_fields = 6;
-  repeated string deny_write_fields = 7;
+  repeated string readonly_fields = 6;
+  repeated string writeonly_fields = 7;
   string read_filter = 8;
   string write_filter = 9;
 }
-- 
GitLab