Versions in this module Expand all Collapse all v1 v1.6.1 Jul 9, 2019 Changes in this version + const PasswordComplexitySuffix + func AclsToCellAcls(ctx context.Context, acls []*idm.ACL) map[string]*rest.CellAcl + func CheckLinkRootNodes(ctx context.Context, link *rest.ShareLink) error + func CommonAclsForWorkspace(ctx context.Context, workspaceId string) (result []*idm.ACL, detectedRoots []string, err error) + func ComputeTargetAcls(ctx context.Context, ownerUser *idm.User, cell *rest.Cell, workspaceId string, ...) []*idm.ACL + func DeleteHashDocument(ctx context.Context, shareId string) error + func DeleteRootNodeRecursively(ctx context.Context, roomNode *tree.Node) error + func DeleteWorkspace(ctx context.Context, ownerUser *idm.User, scope idm.WorkspaceScope, ...) error + func DiffAcls(ctx context.Context, initial []*idm.ACL, newOnes []*idm.ACL) (add []*idm.ACL, remove []*idm.ACL) + func DiffReadRoles(ctx context.Context, initial []*idm.ACL, newOnes []*idm.ACL) (add []string, remove []string) + func GetOrCreateHiddenUser(ctx context.Context, ownerUser *idm.User, link *rest.ShareLink, ...) (user *idm.User, err error) + func GetOrCreateWorkspace(ctx context.Context, ownerUser *idm.User, wsUuid string, ...) (*idm.Workspace, bool, error) + func GetTemplateACLsForMinisite(ctx context.Context, roleId string, permissions []rest.ShareLinkAccessType, ...) (acls []*idm.ACL, err error) + func LoadCellAclsObjects(ctx context.Context, roomAcls map[string]*rest.CellAcl, ...) error + func LoadDetectedRootNodes(ctx context.Context, detectedRoots []string) (rootNodes map[string]*tree.Node) + func LoadHashDocumentData(ctx context.Context, shareLink *rest.ShareLink, acls []*idm.ACL) error + func OwnerResourcePolicies(ctx context.Context, ownerUser *idm.User, resourceId string) []*service.ResourcePolicy + func ParseRootNodes(ctx context.Context, shareRequest *rest.PutCellRequest) (error, *tree.Node, bool) + func StoreHashDocument(ctx context.Context, ownerUser *idm.User, link *rest.ShareLink, ...) error + func UpdateACLsForHiddenUser(ctx context.Context, roleId string, workspaceId string, rootNodes []*tree.Node, ...) error + func UpdatePoliciesFromAcls(ctx context.Context, workspace *idm.Workspace, initial []*idm.ACL, ...) bool + func WorkspaceToCellObject(ctx context.Context, workspace *idm.Workspace, checker ContextEditableChecker) (*rest.Cell, error) + func WorkspaceToShareLinkObject(ctx context.Context, workspace *idm.Workspace, checker ContextEditableChecker) (*rest.ShareLink, error) + type ContextEditableChecker interface + IsContextEditable func(ctx context.Context, resourceId string, policies []*service.ResourcePolicy) bool Incompatible versions in this module v2.0.6+incompatible Apr 23, 2020