commit_1
This commit is contained in:
@@ -31,11 +31,15 @@ RTORRENT_WRITE_PREFIXES = (
|
||||
"/api/rss",
|
||||
"/api/smart-queue",
|
||||
"/api/automations",
|
||||
"/api/download-planner",
|
||||
"/api/poller/settings",
|
||||
"/api/operation-logs",
|
||||
"/api/jobs",
|
||||
)
|
||||
RTORRENT_CONFIG_PREFIXES = ("/api/rtorrent-config",)
|
||||
ADMIN_PREFIXES = ("/api/auth/users", "/api/profiles")
|
||||
# Note: API reads that expose rTorrent/profile data must also respect profile permissions.
|
||||
# Note: Planner, poller and operation-log endpoints are profile-scoped and must follow the active profile context.
|
||||
PROFILE_READ_PREFIXES = (
|
||||
"/api/torrents",
|
||||
"/api/torrent-stats",
|
||||
@@ -50,6 +54,9 @@ PROFILE_READ_PREFIXES = (
|
||||
"/api/smart-queue",
|
||||
"/api/traffic/history",
|
||||
"/api/automations",
|
||||
"/api/download-planner",
|
||||
"/api/poller/settings",
|
||||
"/api/operation-logs",
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user