1
0
Fork 0
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:
Harvey Kandola 2017-09-15 11:08:05 +01:00
parent 5f7c6d211f
commit ef285c91de
13 changed files with 764 additions and 829 deletions

View file

@ -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.