Package cn.vertxup.rbac.api
Interface RightsAgent
@EndPoint
public interface RightsAgent
-
Method Summary
Modifier and TypeMethodDescriptionio.vertx.core.json.JsonObjectfetchGroups(String sigma) io.vertx.core.json.JsonArrayupdateRolePerm(String roleId, io.vertx.core.json.JsonArray data)
-
Method Details
-
fetchGroups
@Path("/api/groups") @GET @Address("\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u0391\u03c3\u03c6\u03ac\u03bb\u03b5\u03b9\u03b1/S-GROUP/SIGMA") io.vertx.core.json.JsonObject fetchGroups(@HeaderParam("X-Sigma") String sigma) -
updateRolePerm
@Path("/role-perm/{roleId}") @PUT @Address("\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u0391\u03c3\u03c6\u03ac\u03bb\u03b5\u03b9\u03b1/S-ROLE-PERM/PUT") io.vertx.core.json.JsonArray updateRolePerm(@PathParam("roleId") String roleId, @BodyParam io.vertx.core.json.JsonArray data)
-