1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-08 19:26:48 +00:00
webvirtcloud/appsettings
catborise 1227674d8f feat(security): implement P0 critical security fixes for API, console, and access control
- Computes API: mark password as write_only in ComputeSerializer, restrict ComputeViewSet and architectures to IsAdminUser.
- Instances API: enforce user ownership tenant isolation in InstanceViewSet.list, restrict MigrateViewSet and CreateInstanceViewSet to IsAdminUser, require IsAdminUser for mutating FlavorViewSet.
- Storage, Network, and Interface APIs: restrict StorageViewSet, VolumeViewSet, NetworkViewSet, InterfaceViewSet to IsAdminUser.
- AppSettings & NWFilters: protect appsettings and nwfilter views with @superuser_only (403 Forbidden for non-superusers).
- noVNC Console: sign tokens with TimestampSigner (salt='console.novnc', max_age=600), verify signature and user authorization in novncd with backward-compatible fallback for debug/test mode.
- Accounts: avoid hardcoded default admin password; generate cryptographically secure random password unless ADMIN_PASSWORD is set (preserve 'admin' in test runner).
- gstfsd daemon: bind to 127.0.0.1 by default instead of 0.0.0.0.
- Tests: added comprehensive test coverage for API security, token expiration/rejection, and view permissions (132 tests passing).
2026-09-27 10:50:09 +03:00
..
migrations feat(console): remove deprecated SPICE support in favor of noVNC 2026-09-26 22:43:40 +03:00
templates Bootstrap5 (#17) 2021-07-07 14:12:38 +03:00
__init__.py Add Settings page: Move theme & lang changer to settings page 2020-06-04 12:03:26 +03:00
apps.py format python code with black 2022-11-02 08:54:35 +03:00
context_processors.py Some improvements for appsettings app 2020-06-17 15:15:58 +06:00
middleware.py Some improvements for appsettings app 2020-06-17 15:15:58 +06:00
models.py format python code with black 2022-11-02 08:54:35 +03:00
settings.py Accounts app improvements and tests 2020-10-14 14:25:05 +03:00
test_appsettings.py feat(security): implement P0 critical security fixes for API, console, and access control 2026-09-27 10:50:09 +03:00
tests.py Add Settings page: Move theme & lang changer to settings page 2020-06-04 12:03:26 +03:00
views.py feat(security): implement P0 critical security fixes for API, console, and access control 2026-09-27 10:50:09 +03:00