enable download role for all users

since we don't have any permission checks on download.view anyway

closes #264
This commit is contained in:
sentriz
2022-12-04 22:02:48 +00:00
parent 7e097c9bdf
commit 6c8f6b3299

View File

@@ -131,6 +131,7 @@ func (c *Controller) ServeGetUser(r *http.Request) *spec.Response {
AdminRole: user.IsAdmin,
JukeboxRole: c.Jukebox != nil,
PodcastRole: c.Podcasts != nil,
DownloadRole: true,
ScrobblingEnabled: hasLastFM || hasListenBrainz,
Folder: []int{1},
}