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 NewSpaceRequest ¶ added in v1.53.0
type NewSpaceRequest struct {
Name string `json:"name"`
CloneID string `json:"cloneID"` // existing space to clone, empty = no cloning
CopyTemplate bool `json:"copyTemplate"` // copy templates and reusable content blocks
CopyPermission bool `json:"copyPermission"` // copy uer permissions
CopyDocument bool `json:"copyDocument"` // copy all documents!
}
NewSpaceRequest details the new space to create.
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.