Class ManagementRights
java.lang.Object
pl.allegro.tech.hermes.management.api.auth.ManagementRights
Make sure these implementations conform to what is configured via RolesAllowed annotations in endpoints.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreatorRights<pl.allegro.tech.hermes.api.Group>getGroupCreatorRights(jakarta.ws.rs.container.ContainerRequestContext requestContext) booleanisUserAllowedToCreateGroup(jakarta.ws.rs.container.ContainerRequestContext requestContext) booleanisUserAllowedToManageTopic(pl.allegro.tech.hermes.api.Topic topic, jakarta.ws.rs.container.ContainerRequestContext requestContext)
-
Constructor Details
-
ManagementRights
-
-
Method Details
-
isUserAllowedToManageTopic
public boolean isUserAllowedToManageTopic(pl.allegro.tech.hermes.api.Topic topic, jakarta.ws.rs.container.ContainerRequestContext requestContext) -
isUserAllowedToCreateGroup
public boolean isUserAllowedToCreateGroup(jakarta.ws.rs.container.ContainerRequestContext requestContext) -
getGroupCreatorRights
public CreatorRights<pl.allegro.tech.hermes.api.Group> getGroupCreatorRights(jakarta.ws.rs.container.ContainerRequestContext requestContext)
-