You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hugegraph.apache.org by "zyxxoo (via GitHub)" <gi...@apache.org> on 2023/03/03 05:53:03 UTC
[GitHub] [incubator-hugegraph] zyxxoo commented on a diff in pull request #2130: feat: support task auto manage by server role state machine
zyxxoo commented on code in PR #2130:
URL: https://github.com/apache/incubator-hugegraph/pull/2130#discussion_r1124050660
##########
hugegraph-api/src/main/java/org/apache/hugegraph/api/job/RebuildAPI.java:
##########
@@ -53,6 +53,7 @@ public class RebuildAPI extends API {
@Status(Status.ACCEPTED)
@Produces(APPLICATION_JSON_WITH_CHARSET)
@RolesAllowed({"admin", "$owner=$graph $action=index_write"})
+ @RedirectFilter.RedirectMasterRole
Review Comment:
yes, if ACCEPTED appear, the RedirectMasterRole also appear
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@hugegraph.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org