mirror of
https://github.com/documize/community.git
synced 2025-07-24 07:39:43 +02:00
refined category permission checks
This commit is contained in:
parent
4d989e2497
commit
3a9675eb14
11 changed files with 149 additions and 22 deletions
|
@ -29,3 +29,10 @@ type Member struct {
|
|||
LabelID string `json:"folderId"`
|
||||
DocumentID string `json:"documentId"`
|
||||
}
|
||||
|
||||
// SummaryModel holds number of documents and users for space categories.
|
||||
type SummaryModel struct {
|
||||
Type string `json:"type"` // documents or users
|
||||
CategoryID string `json:"categoryId"`
|
||||
Count int64 `json:"count"`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue