From b65bb034064cd70a85a0070f2ae9aeb4376a14f3 Mon Sep 17 00:00:00 2001 From: rikaaa0928 <8528731+rikaaa0928@users.noreply.github.com> Date: Tue, 2 Jul 2024 16:18:43 +0800 Subject: [PATCH] [enhancement] JCommon MongoDB UserController fix default role for annotation (#854) --- .../docean-plugin-mongodb/src/main/java/run/mone/auth/Auth.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jcommon/docean-plugin/docean-plugin-mongodb/src/main/java/run/mone/auth/Auth.java b/jcommon/docean-plugin/docean-plugin-mongodb/src/main/java/run/mone/auth/Auth.java index 80b0238db..daea12999 100644 --- a/jcommon/docean-plugin/docean-plugin-mongodb/src/main/java/run/mone/auth/Auth.java +++ b/jcommon/docean-plugin/docean-plugin-mongodb/src/main/java/run/mone/auth/Auth.java @@ -29,5 +29,5 @@ String name() default "name"; - String role() default "admin"; + String role() default "user"; }