feat: enhance user permissions handling for admin and non-admin contexts

This commit is contained in:
jxxghp
2026-06-15 09:16:46 +08:00
parent c87b856ddf
commit ef36af8a82
17 changed files with 1058 additions and 204 deletions
+2
View File
@@ -49,6 +49,8 @@ dedicated tool can complete the task more directly and safely.
`google`, `brave`, etc.) and `site_url` for limiting results to a specified
domain or URL path. It uses the configured system proxy by default.
- `query_sites` - Get MoviePilot site IDs before site-specific operations.
Non-admin callers receive a safe view without Cookie, RSS, Token, or API Key
fields.
- `update_site_cookie` - Update a configured site's Cookie and User-Agent using
username, password, and optional two-step code.
- `test_site` - Verify configured site connectivity and login status.