mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-05 11:00:39 +02:00
See #170: limit the amount of channels allowed per user
This commit is contained in:
parent
11a42e362d
commit
a3505d2099
5 changed files with 52 additions and 2 deletions
|
@ -138,6 +138,8 @@ class ChannelViewSet(
|
|||
"update",
|
||||
"partial_update",
|
||||
]
|
||||
if self.request.user.is_authenticated:
|
||||
context["actor"] = self.request.user.actor
|
||||
return context
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue