mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-11-16 13:51:14 +01:00
Update scanner v3, add isActive support for users
This commit is contained in:
1 parent
ddbf678a8b
commit
4e92ea3992
13 files changed
+230
-160
No files matched your search
@@ -24,13 +24,13 @@ class User {
|
||||
return this.type === 'root'
|
||||
}
|
||||
get canDelete() {
|
||||
return !!this.permissions.delete
|
||||
return !!this.permissions.delete && this.isActive
|
||||
}
|
||||
get canUpdate() {
|
||||
return !!this.permissions.update
|
||||
return !!this.permissions.update && this.isActive
|
||||
}
|
||||
get canDownload() {
|
||||
return !!this.permissions.download
|
||||
return !!this.permissions.download && this.isActive
|
||||
}
|
||||
|
||||
getDefaultUserSettings() {
|
||||
|
||||
Reference in new issue
Block a user