mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 15:29:22 +02:00
Fix #302: Include user's current private playlists on playlist list
This commit is contained in:
parent
e068f4c102
commit
697ea24b79
4 changed files with 9 additions and 5 deletions
|
@ -12,7 +12,8 @@ from funkwhale_api.users.factories import UserFactory
|
|||
(AnonymousUser(), Q(privacy_level="everyone")),
|
||||
(
|
||||
UserFactory.build(pk=1),
|
||||
Q(privacy_level__in=["followers", "instance", "everyone"]),
|
||||
Q(privacy_level__in=["instance", "everyone"])
|
||||
| Q(privacy_level="me", user=UserFactory.build(pk=1)),
|
||||
),
|
||||
],
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue