Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Reverse ¶
Reverse is an extended clientImpl used mainly to filter events sent from inside to outside the application
func (*Reverse) NodeIsChildOfRoot ¶
func (r *Reverse) NodeIsChildOfRoot(ctx context.Context, node *tree.Node, rootId string) (*tree.Node, bool)
NodeIsChildOfRoot compares pathes between possible parent and child
func (*Reverse) WorkspaceCanSeeNode ¶
func (r *Reverse) WorkspaceCanSeeNode(ctx context.Context, accessList *permissions.AccessList, workspace *idm.Workspace, node *tree.Node) (*tree.Node, bool)
WorkspaceCanSeeNode checks if a node appears inside a workspace, and if so, returns the node with its path relative to this workspace
Click to show internal directories.
Click to hide internal directories.