You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2026/09/10 16:31:45 UTC

(shardingsphere) branch master updated: Remove uncorrected @SingletonSPI on PrivilegeProvider (#39793)

This is an automated email from the ASF dual-hosted git repository.

terrymanu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new 488566d4bef Remove uncorrected @SingletonSPI on PrivilegeProvider (#39793)
488566d4bef is described below

commit 488566d4befd2cbfef8770824ad181f0616ee9e6
Author: Liang Zhang <zh...@apache.org>
AuthorDate: Fri Sep 11 00:31:39 2026 +0800

    Remove uncorrected @SingletonSPI on PrivilegeProvider (#39793)
---
 .../java/org/apache/shardingsphere/authority/spi/PrivilegeProvider.java | 2 --
 1 file changed, 2 deletions(-)

diff --git a/kernel/authority/api/src/main/java/org/apache/shardingsphere/authority/spi/PrivilegeProvider.java b/kernel/authority/api/src/main/java/org/apache/shardingsphere/authority/spi/PrivilegeProvider.java
index 9e6445a64ce..117464a07cf 100644
--- a/kernel/authority/api/src/main/java/org/apache/shardingsphere/authority/spi/PrivilegeProvider.java
+++ b/kernel/authority/api/src/main/java/org/apache/shardingsphere/authority/spi/PrivilegeProvider.java
@@ -20,13 +20,11 @@ package org.apache.shardingsphere.authority.spi;
 import org.apache.shardingsphere.authority.config.AuthorityRuleConfiguration;
 import org.apache.shardingsphere.authority.model.ShardingSpherePrivileges;
 import org.apache.shardingsphere.infra.metadata.user.Grantee;
-import org.apache.shardingsphere.infra.spi.annotation.SingletonSPI;
 import org.apache.shardingsphere.infra.spi.type.typed.TypedSPI;
 
 /**
  * Privilege provider.
  */
-@SingletonSPI
 public interface PrivilegeProvider extends TypedSPI {
     
     /**