mirror of
https://github.com/AlistGo/alist.git
synced 2025-05-30 12:37:58 +08:00
chore: add callback for task
This commit is contained in:
@ -13,6 +13,7 @@ type User struct {
|
||||
BasePath string `json:"base_path"` // base path
|
||||
AllowUpload bool `json:"allow_upload"` // allow upload
|
||||
Role int `json:"role"` // user's role
|
||||
//OfflineDownload bool `json:"offline_download"` // TODO? allow offline download
|
||||
}
|
||||
|
||||
func (u User) IsGuest() bool {
|
||||
|
Reference in New Issue
Block a user