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:
@@ -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},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user