Skip to content

No way to delete a wiki (recipe) or bag from admin UI/API #138

Description

@linonetwo

Problem

In the current release there appears to be no supported way to delete an existing wiki (recipe) or bag once it has been created:

  1. Admin UI: The recipe edit dialog does not expose a "Delete recipe" / "Delete bag" button. The form only allows editing metadata, bags and plugins.
  2. Admin API: The documented route POST /admin/recipe_delete (and /admin/bag_delete) returns NO_ROUTE_MATCHED / INVALID_REQUEST_PATH on a live instance. Only /admin/load and /admin/save/:tab appear to be registered.

Impact

  • Old sample wikis (mws-docs, docs, dev-docs, tour) and their bags stay visible in /admin forever.
  • Users must resort to manual SQL/Prisma operations against the MWS database, which is risky due to FK constraints (recipe_bags, recipe_acl, tiddlers, tiddler_events, etc.).

Environment

  • MWS version: deployed from the currently recommended Docker image path (no official GHCR release yet).
  • The running image appears to use the admin-vanilla admin interface, while the admin-react code in this repo does contain a Delete Recipe button calling serverRequest.recipe_delete.

Request

  1. Please make sure the delete routes (/admin/recipe_delete, /admin/bag_delete) are registered and callable by admins.
  2. Expose a delete button in the admin UI (or at least document the API).
  3. Publish an official GHCR image and a documented upgrade path, so deployments can move to a version that supports deletion without rebuilding the image locally.

Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions