Skip to content

Commit

Permalink
add acl to doc snippets example
Browse files Browse the repository at this point in the history
  • Loading branch information
efgpinto committed Jan 24, 2025
1 parent f6824ea commit df8eb3a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package com.example.api;

import akka.NotUsed;
import akka.javasdk.annotations.Acl;
import akka.javasdk.annotations.GrpcEndpoint;
import akka.stream.Materializer;
import akka.stream.javadsl.Sink;
Expand All @@ -12,6 +13,7 @@
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.CompletionStage;

@Acl(allow = @Acl.Matcher(principal = Acl.Principal.ALL))
@GrpcEndpoint
public class ExampleGrpcEndpointImpl implements ExampleGrpcEndpoint {

Expand Down

0 comments on commit df8eb3a

Please sign in to comment.