diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-20 07:06:04 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-20 07:06:04 +0300 |
| commit | 190bc9ecfb2e6026d0ff831b89dcc2a39843775d (patch) | |
| tree | 79254f6005be3e2d84cb8857084a74682c8d8531 /player-android/android | |
| parent | 9d41de31153286103f73f6188049413a8c0d45ed (diff) | |
Promote allowedSetIDs to accessHelper (da)
browseService.ListMedia and ListSets each contained the same
"compute permitted set IDs for this non-admin user" logic. Promote
it to an exported method (h.AllowedSetIDs) on accessHelper so the
permission resolution lives in one place, then call it from both
sites in browse.go. Tests still pass via the existing service
suite — no new unit test was needed since accessHelper is exercised
through its callers.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Diffstat (limited to 'player-android/android')
0 files changed, 0 insertions, 0 deletions
