mirror of
https://github.com/documize/community.git
synced 2025-07-24 07:39:43 +02:00
persist permissions
WIP
This commit is contained in:
parent
5f7c6d211f
commit
ef285c91de
13 changed files with 764 additions and 829 deletions
|
@ -104,10 +104,10 @@ type Viewer struct {
|
|||
Email string `json:"email"`
|
||||
}
|
||||
|
||||
// RolesModel details which users have what permissions on a given space.
|
||||
type RolesModel struct {
|
||||
// PermissionsModel details which users have what permissions on a given space.
|
||||
type PermissionsModel struct {
|
||||
Message string
|
||||
Permissions []Permission
|
||||
Permissions []PermissionRecord
|
||||
}
|
||||
|
||||
// AcceptShareModel is used to setup a user who has accepted a shared space.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue