Class AclTableEditorResource

java.lang.Object
com.illumon.iris.db.v2.permissions.rs.AclTableEditorResource

@Path("/tableEditor") @Consumes("application/json") @Produces("application/json") public class AclTableEditorResource extends Object
This manages editing of input tables, by updating the acl database Defines all REST operations supported for /acl/tableEditor/ uri. Produces and consumes MediaType.APPLICATION_JSON
  • Constructor Details

    • AclTableEditorResource

      public AclTableEditorResource()
  • Method Details

    • addInputTableEditor

      @POST public io.deephaven.shadow.resteasy.javax.ws.rs.core.Response addInputTableEditor(@NotNull TableEditorAcl tableEditorAcl) throws DbAclCheckedException
      Adds an entry to the ACL database for editing an input table.
      Parameters:
      tableEditorAcl - The acl entity object encompassing group, namespace, table, canEdit properties
      Returns:
      Response with status code of Response.Status.CREATED
      Throws:
      DbAclCheckedException - upon failure to add acl
    • updateInputTableEditor

      @PUT public io.deephaven.shadow.resteasy.javax.ws.rs.core.Response updateInputTableEditor(@NotNull TableEditorAcl tableEditorAcl) throws DbAclCheckedException
      Updates an entry to the ACL database for editing an input table.
      Parameters:
      tableEditorAcl - The acl entity object encompassing group, namespace, table, canEdit properties
      Returns:
      Response with status code of Response.Status.NO_CONTENT
      Throws:
      DbAclCheckedException - upon failure to update acl
    • deleteInputTableEditor

      @DELETE @Path("/{group}") public io.deephaven.shadow.resteasy.javax.ws.rs.core.Response deleteInputTableEditor(@PathParam("group") String group, @QueryParam("ns") String ns, @QueryParam("table") String table) throws DbAclCheckedException
      Deletes an entry to the ACL database for editing an input table
      Parameters:
      group - the group to remove the entry for
      ns - the namespace to remove the entry for ("*" for all namespaces)
      table - the table name to remove the entry for ("*" for tables within a namespace, if ns is "*" table must also be "*")
      Returns:
      Response with status code of Response.Status.NO_CONTENT
      Throws:
      DbAclCheckedException - upon failure to delete acl