Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AcceptShareModel ¶
type AcceptShareModel struct {}
AcceptShareModel is used to setup a user who has accepted a shared space.
type InvitationModel ¶
InvitationModel details which users have been invited to a space.
type Role ¶
type Role struct { model.BaseEntityObfuscated OrgID string `json:"-"` LabelID string `json:"folderId"` UserID string `json:"userId"` CanView bool `json:"canView"` CanEdit bool `json:"canEdit"` }
Role determines user permissions for a folder.
type RolesModel ¶
RolesModel details which users have what permissions on a given space.
type Space ¶
type Space struct { model.BaseEntity Name string `json:"name"` OrgID string `json:"orgId"` UserID string `json:"userId"` Type Scope `json:"folderType"` }
Space defines a container for documents.
func (*Space) IsRestricted ¶
IsRestricted means the folder can be seen by selected users.
Click to show internal directories.
Click to hide internal directories.