feat: enhance limits
This commit is contained in:
@@ -24,6 +24,13 @@ type AdminUser struct {
|
||||
// Providers lists linked OAuth providers (e.g. "google", "facebook").
|
||||
HasPassword bool `json:"has_password"`
|
||||
Providers []string `json:"providers"`
|
||||
|
||||
// Effective save limits in force for this user (plan default merged with any
|
||||
// admin override); -1 means unlimited. The admin UI pre-fills the "Edit
|
||||
// limits" modal with these.
|
||||
BookmarkLimit int `json:"bookmark_limit"`
|
||||
PublicCollectionLimit int `json:"public_collection_limit"`
|
||||
PrivateCollectionLimit int `json:"private_collection_limit"`
|
||||
}
|
||||
|
||||
// AdminPost is a row in the admin posts table.
|
||||
|
||||
Reference in New Issue
Block a user