chore: add callback for task

This commit is contained in:
Noah Hsu
2022-06-20 17:13:19 +08:00
parent d665cce739
commit 31ff31d3dd
4 changed files with 21 additions and 8 deletions

View File

@ -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 {