From 3a0b4b1425ce7f6110f040b5e2ce9b4750091f1f Mon Sep 17 00:00:00 2001 From: Darshit Chanpura Date: Thu, 5 Dec 2024 18:53:56 -0500 Subject: [PATCH] Upper-case the default scope Signed-off-by: Darshit Chanpura --- .../accesscontrol/resources/ResourceAccessScope.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/main/java/org/opensearch/accesscontrol/resources/ResourceAccessScope.java b/server/src/main/java/org/opensearch/accesscontrol/resources/ResourceAccessScope.java index 463936625522c..46138a5e788c6 100644 --- a/server/src/main/java/org/opensearch/accesscontrol/resources/ResourceAccessScope.java +++ b/server/src/main/java/org/opensearch/accesscontrol/resources/ResourceAccessScope.java @@ -16,6 +16,6 @@ * @opensearch.experimental */ public interface ResourceAccessScope { - String READ_ONLY = "read_only"; - String READ_WRITE = "read_write"; + String READ_ONLY = "READ_ONLY"; + String READ_WRITE = "READ_WRITE"; }