This is an automated email from the ASF dual-hosted git repository.
wirebaron pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode.git
The following commit(s) were added to refs/heads/develop by this push:
new 92278d4 GEODE-4753: fix permission for GetServer operation (#1524)
92278d4 is described below
commit 92278d466d2721f03b7d1430a549f52930e032a7
Author: Brian Rowe <[email protected]>
AuthorDate: Wed Feb 28 10:16:28 2018 -0800
GEODE-4753: fix permission for GetServer operation (#1524)
---
.../protocol/protobuf/v1/registry/ProtobufOperationContextRegistry.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/geode-protobuf/src/main/java/org/apache/geode/internal/protocol/protobuf/v1/registry/ProtobufOperationContextRegistry.java
b/geode-protobuf/src/main/java/org/apache/geode/internal/protocol/protobuf/v1/registry/ProtobufOperationContextRegistry.java
index 97a748e..8043d10 100644
---
a/geode-protobuf/src/main/java/org/apache/geode/internal/protocol/protobuf/v1/registry/ProtobufOperationContextRegistry.java
+++
b/geode-protobuf/src/main/java/org/apache/geode/internal/protocol/protobuf/v1/registry/ProtobufOperationContextRegistry.java
@@ -115,7 +115,7 @@ public class ProtobufOperationContextRegistry {
new
ProtobufOperationContext<>(ClientProtocol.Message::getGetServerRequest,
new GetServerOperationHandler(),
opsResp ->
ClientProtocol.Message.newBuilder().setGetServerResponse(opsResp),
- ResourcePermissions.DATA_READ));
+ ResourcePermissions.CLUSTER_READ));
operationContexts.put(ClientProtocol.Message.MessageTypeCase.EXECUTEFUNCTIONONREGIONREQUEST,
new
ProtobufOperationContext<>(ClientProtocol.Message::getExecuteFunctionOnRegionRequest,
--
To stop receiving notification emails like this one, please contact
[email protected].