mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-02-20 13:53:19 +01:00
Update scanner v3, add isActive support for users
This commit is contained in:
@@ -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