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 will check workspaces roots to see if a node in below one of them
Click to show internal directories.
Click to hide internal directories.