mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-07-19 09:34:38 +00:00
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. |
||
|---|---|---|
| .. | ||
| fixtures | ||
| __init__.py | ||
| test_current_programs_api.py | ||
| test_entity_resolution.py | ||
| test_epg_import_api.py | ||
| test_epg_search_api.py | ||
| test_epg_source_file_lock.py | ||
| test_fetch_xmltv_xz.py | ||
| test_parse_programs_for_source.py | ||
| test_parse_programs_for_tvg_id.py | ||
| test_parsing_channels_progress.py | ||
| test_programme_index.py | ||
| test_refresh_db_recovery.py | ||
| test_schedules_direct.py | ||
| test_serializers.py | ||
| test_upload_security.py | ||
| test_xz_support.py | ||