mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-03-04 02:22:09 +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