diff --git a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/profile/GraphsAPI.java b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/profile/GraphsAPI.java index 040ec49be1..d44b1958a8 100644 --- a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/profile/GraphsAPI.java +++ b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/profile/GraphsAPI.java @@ -107,7 +107,7 @@ public Object get(@Context GraphManager manager, @Timed @Path("{name}") @Produces(APPLICATION_JSON_WITH_CHARSET) - @RolesAllowed({"admin", "$owner=$name"}) + @RolesAllowed({"admin"}) public void drop(@Context GraphManager manager, @PathParam("name") String name, @QueryParam("confirm_message") String message) {