Closed glynnbird closed 3 years ago
Conditions 1 and 2 can be met fairly easily and are in #111.
Condition 3 would require an API lookup for each contributor to the songs membership status in the choir. That'll greatly reduce the speed at which the choir song pages would load.
The individual pieces can still be viewed in part in the "record" view, which I think should be satisfactory for most of our users.
nice! Closing for now, we can revisit if the data model allows (3) in the future.
People with the "leader" attribute may be administrative leaders only, and also prefer that their submissions are not public!
Comment from real-world choir user:
I propose we only show the "View" button next to a song part in the following circumstances:
userId
matches in the logged in user'suserId
leader
of the choirleader
of the choir i.e. a choir leaders rendition of the tenor partIn all other circumstances, a regular choir member should not be able to listen to another individual's (non choir leader's) parts.