Project

General

Profile

Actions

Task #386

closed

Managers algorithms

Added by Marcel Poul about 7 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Radek Tomiška
Category:
Modularity
Target version:
Start date:
04/26/2017
Due date:
% Done:

100%

Estimated time:
Owner:

Description

Every user contract can have managers. Those managers are either static values - set by admin or synchronization - or dynamically computed everytime the manager is needed.
The goal of this ticket is to implement new algorithm for computing managers, which shloud work as follows:

The org structure (tree structure) is defined as ORG A <- ORG B <- ORG C, ORG B <- ORB D.
Every user always sits only at leafs - e.g. USER A sits on ORG C, USER B sits on ORG D. Nobody sits on ORG A or ORB B.

When we compute the manager of the user, we cannot simply go through the tree, because users A and B sits on the same level in the tree.
So we need other reference attribute that point to the organization that manages it: eg. ORG C - - - > ORG D. Let's call it "MY MANAGER POSITION" reference attribute.

All together: USER B is the manager of USER A

See the picture
note: "Sits" means "has valid contract that is positioned on this node"...

To discuss - "MY MANAGER POSITION" attribute will be extended attribute of treeNode or should it be basic attribute?


Files

managers_from_org_structure.png (86.6 KB) managers_from_org_structure.png Marcel Poul, 04/26/2017 08:57 AM
Actions

Also available in: Atom PDF