From cc025adca63353e196b432ae2aef47dcf6df60e3 Mon Sep 17 00:00:00 2001 From: Michael Gasperini <163041857+TheStreamCode@users.noreply.github.com> Date: Sun, 11 Oct 2026 22:58:57 +0200 Subject: [PATCH] Align developer and maintainer docs with the 3.3.0 validation and API surface - local-development.md lists the new admin-app-helpers syntax check and the pdm-helpers node test, matching AGENTS.md and CI - hooks.md notes the 3.3.0 governance semantics for integrators: rule management requires an explicit manage grant, the browser payload exposes can_manage_rules, and search now returns matching folders Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe --- docs/developer/hooks.md | 6 ++++++ docs/maintainer/local-development.md | 2 ++ 2 files changed, 8 insertions(+) diff --git a/docs/developer/hooks.md b/docs/developer/hooks.md index 8d6da85..9959c09 100644 --- a/docs/developer/hooks.md +++ b/docs/developer/hooks.md @@ -280,3 +280,9 @@ add_filter('mstv_upload_validation', function (array $result, array $files): arr - These hooks are intended for WordPress customizations and must be used from site code, custom plugins, or mu-plugins. - Hook payloads reflect the current implementation and may expand in future releases. +- Since 3.3.0, folder permission rules can only be read or changed through the + governance REST endpoints by administrators or users whose `manage` grant + comes from an explicit folder rule (`MSTV_Permissions::has_rule_based_manage()`). + The browser payload exposes this as a `can_manage_rules` flag alongside the + per-folder action map, and the `mstv/v1/search` response now includes + matching folders (filtered by the view scope) in addition to files. diff --git a/docs/maintainer/local-development.md b/docs/maintainer/local-development.md index dfcbf6f..13c5fc3 100644 --- a/docs/maintainer/local-development.md +++ b/docs/maintainer/local-development.md @@ -58,12 +58,14 @@ Use `composer ci` to run lint and PHPUnit together. Validate JavaScript without introducing a separate package installation: ```powershell +node --check assets/js/admin-app-helpers.js node --check assets/js/admin-app-core.js node --check assets/js/admin-app-governance.js node --check assets/js/admin-app.js node --check assets/js/admin-notice-dismiss.js node --check tools/parse-plugin-check-output.mjs node --test tests/plugin-check-output.test.mjs +node --test tests/pdm-helpers.test.mjs ``` ### PHPUnit