mirror of
https://github.com/documize/community.git
synced 2025-07-19 13:19:43 +02:00
Set category permissions for both users and groups
This commit is contained in:
parent
d1fdb385e9
commit
22679920d0
17 changed files with 335 additions and 124 deletions
|
@ -133,10 +133,12 @@ func EncodeRecord(r Record, a Action) (p Permission) {
|
|||
|
||||
// CategoryViewRequestModel represents who should be allowed to see a category.
|
||||
type CategoryViewRequestModel struct {
|
||||
OrgID string `json:"orgId"`
|
||||
SpaceID string `json:"folderId"`
|
||||
CategoryID string `json:"categoryID"`
|
||||
UserID string `json:"userId"`
|
||||
OrgID string `json:"orgId"`
|
||||
SpaceID string `json:"folderId"`
|
||||
CategoryID string `json:"categoryID"`
|
||||
WhoID string `json:"whoId"`
|
||||
Who WhoType `json:"who"`
|
||||
// UserID string `json:"userId"`
|
||||
}
|
||||
|
||||
// SpaceRequestModel details which users have what permissions on a given space.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue