• Aryan Noshirvnai's avatar
    Fix global library search 403ing for non-admin users in Radio · 7f2abd19
    Aryan Noshirvnai authored
    GET /soundmarks/song-library backs SongPicker's "Public Library" tab, which
    RadioManageTab's "Add song" reuses for any station owner - but the endpoint
    was still gated get_current_business_admin from when only the business/admin
    panels used this picker. A plain user got a silent 403 (SongPicker swallows
    fetch errors into an empty "No songs found" state), so nothing looked broken,
    search just never returned anything. Relaxed to get_current_user, matching
    the earlier geocode/reverse-geocode fix for the identical reason - a plain
    title/artist search has nothing business-admin-specific about it.
    Co-Authored-By: 's avatarClaude Sonnet 5 <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
    7f2abd19
Name
Last commit
Last update
..
fixtures Loading commit data...
conftest.py Loading commit data...
test_audio_processing.py Loading commit data...
test_auth.py Loading commit data...
test_database.py Loading commit data...
test_discovery.py Loading commit data...
test_dm.py Loading commit data...
test_docs_auth.py Loading commit data...
test_geo.py Loading commit data...
test_home.py Loading commit data...
test_library.py Loading commit data...
test_media_stream.py Loading commit data...
test_music.py Loading commit data...
test_music_identification.py Loading commit data...
test_privacy_settings.py Loading commit data...
test_radio.py Loading commit data...
test_remix.py Loading commit data...
test_remix_engine.py Loading commit data...
test_rooms_invite_pin_location.py Loading commit data...
test_rooms_websocket.py Loading commit data...
test_social.py Loading commit data...
test_soundmarks.py Loading commit data...
test_telegram_scan.py Loading commit data...
test_telegram_sync.py Loading commit data...