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