gcrk
I got the intention that you expect a playlist to be part of a collection, but why would it be? Isn’t it an independent concept? Why would I add a playlist to a collection?
I don't think a playlist should be part of a "Funkwhale collection" in the way that recordings/releases/artists are. Instead, the playlists you follow should be grouped together in a view in the interface so you can easily find the playlists you follow.
Maybe it would be nice to be able to add all tracks in a playlist to a collection(s), but that's about as far as I can see that going.
I probably want to set visibility for a playlist on its own, independently from a collection it might be part of?
Yes, a playlist's visibility should be separate. However, the visibility of the content inside the playlist needs to respect its containing collection(s). The following scenario is a good example: let's say
@sporiff invites @georgkrause and @mjourdan to follow a private collection
@georgkrause invites @sporiff to follow a private collection.
Next, @sporiff creates a playlist containing the following:
- Content from a public collection
- Content from
@sporiff's private collection
- Content from
@georgkrause's private collection
@sporiff sets the visibility of the playlist to Private, and shares it with @mjourdan. In this scenario, @mjourdan has access to:
- The public collection's content
- The content in
@sporiff's collection
@mjourdan does not have access to:
- The content in
@georgkrause's collection
In this case, @mjourdan should be able to see all tracks listed in the playlist but only able to play the content they have access to. This means that the playlist respects:
- The visibility level assigned to the playlist itself
- The visibility level and access control of the content contained in the playlist