Skip to content

Commit

Permalink
improve allow role for drop graph (#1878)
Browse files Browse the repository at this point in the history
Co-authored-by: Yao Wang <[email protected]>
  • Loading branch information
wangyao2016 and wangyao-cmss authored May 13, 2022
1 parent 664eb26 commit 239b06e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 239b06e

Please sign in to comment.