Class RestResourceWithOwnerCheck

java.lang.Object
org.graylog2.shared.rest.resources.RestResource
org.graylog.security.rest.RestResourceWithOwnerCheck
All Implemented Interfaces:
PluginRestResource
Direct Known Subclasses:
EntitySharesResource

public abstract class RestResourceWithOwnerCheck extends RestResource implements PluginRestResource
  • Constructor Details

    • RestResourceWithOwnerCheck

      public RestResourceWithOwnerCheck()
  • Method Details

    • checkOwnership

      protected void checkOwnership(GRN entity)
    • isOwner

      protected boolean isOwner(GRN entity)
    • isPermitted

      protected boolean isPermitted(String type, GRN target)