• 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
alembic Loading commit data...
deploy Loading commit data...
scripts Loading commit data...
src Loading commit data...
tests Loading commit data...
.env.example Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
Dockerfile Loading commit data...
README.md Loading commit data...
alembic.ini Loading commit data...
docker-compose.yml Loading commit data...
requirements-remix.txt Loading commit data...
requirements.txt Loading commit data...
setup.sh Loading commit data...