Skip to content

Commit 77a1632

Browse files
committed
fix: add missing plugin authorization manager implementation bean
1 parent f511a79 commit 77a1632

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

server/api-service/lowcoder-server/src/main/java/org/lowcoder/api/framework/plugin/security/PluginAuthorizationManager.java

+2-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package org.lowcoder.api.framework.plugin.security;
22

3-
import java.lang.reflect.Method;
4-
3+
import lombok.extern.slf4j.Slf4j;
54
import org.aopalliance.intercept.MethodInvocation;
65
import org.apache.commons.lang3.StringUtils;
76
import org.lowcoder.plugin.api.EndpointExtension;
@@ -15,12 +14,10 @@
1514
import org.springframework.security.authorization.ReactiveAuthorizationManager;
1615
import org.springframework.security.core.Authentication;
1716
import org.springframework.stereotype.Component;
18-
19-
import lombok.extern.slf4j.Slf4j;
2017
import reactor.core.publisher.Mono;
2118

2219
@Slf4j
23-
//@Component
20+
@Component
2421
public class PluginAuthorizationManager implements ReactiveAuthorizationManager<MethodInvocation>
2522
{
2623
private final MethodSecurityExpressionHandler expressionHandler;

0 commit comments

Comments
 (0)