Dispatcharr/apps/proxy/urls.py
SergeantPanda 66089f14ee refactor(permissions): enhance permission handling across various viewsets
This update modifies permission classes in multiple viewsets to restrict access based on user roles. The `IsAdmin` permission is now enforced for several actions, including group management and permission listing, ensuring that only administrators can perform sensitive operations. Additionally, a new utility function, `resolve_safe_local_data_path`, is introduced to enhance security when accessing local file paths. The changes improve overall security and maintainability of the codebase.
2026-07-18 20:03:03 +00:00

12 lines
350 B
Python

from django.urls import path, include
from apps.proxy import stats_views
app_name = 'proxy'
urlpatterns = [
path('stats/', stats_views.combined_stats, name='combined_stats'),
path('ts/', include('apps.proxy.live_proxy.urls')),
path('catchup/', include('apps.timeshift.urls')),
path('vod/', include('apps.proxy.vod_proxy.urls')),
]