fix: give regular users global webdav access
This commit is contained in:
+1
-1
@@ -17,7 +17,7 @@ func defaultPermissions(role string) []string {
|
||||
return []string{PermDownload, PermRedeem, PermWebDAV, PermWebDAVConfig}
|
||||
}
|
||||
if role == RoleUser {
|
||||
return []string{PermDownload, PermRedeem}
|
||||
return []string{PermDownload, PermRedeem, PermWebDAV}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user