mirror of
https://github.com/documize/community.git
synced 2025-07-24 15:49:44 +02:00
restrict user lists based on account.users permission
This commit is contained in:
parent
b56d3426d2
commit
508ec00c6a
9 changed files with 37 additions and 44 deletions
|
@ -18,7 +18,7 @@ type Account struct {
|
|||
model.BaseEntity
|
||||
Admin bool `json:"admin"`
|
||||
Editor bool `json:"editor"`
|
||||
Users bool `json:"viewUsers"`
|
||||
Users bool `json:"viewUsers"` // either view all users or just users in your space
|
||||
UserID string `json:"userId"`
|
||||
OrgID string `json:"orgId"`
|
||||
Company string `json:"company"`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue