Files
penpot/backend/test/backend_tests
Andrey Antukh 7b73fb9b30 🐛 Add dedicated RPC methods for plugin registry operations
Add `add-profile-plugin` and `remove-profile-plugin` RPC methods for
atomic plugin registry operations, preventing manipulation via the
broader `update-profile-props` endpoint.

- Close the `:plugins` field in `update-profile-props` schema to
  eliminate the mass assignment attack vector for plugin data.
- Define `valid-permissions` and a closed `schema:permissions` enum to
  restrict plugin permissions to known values.
- Migrate the frontend to use the new granular RPC methods with
  optimistic updates and rollback on failure.
- Add comprehensive backend tests covering valid/invalid permissions,
  updates, removal, and rejection via old endpoint.

AI-assisted-by: qwen3.7-plus
2026-07-30 10:57:49 +02:00
..
2026-05-29 11:24:58 +02:00
2026-05-29 11:24:58 +02:00
2026-07-22 13:11:57 +02:00
2026-05-29 11:24:58 +02:00
2026-07-29 11:26:16 +02:00
2026-07-29 11:26:16 +02:00
2026-05-29 11:24:58 +02:00
2026-07-09 19:34:15 +02:00