Skip to content

Circular relationships #1897

Answered by vroldanbet
imclem asked this question in Q&A
May 13, 2024 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

It's still not clear to me what the business requirements are. Under what conditions can a user see the same another user sees? Do they have to perform an action in the UI to share ("please share all I see with user X"), or is that defined by the hierarchy (each one of a manager's reports should be able to see each other's work)? This is fundamental because it will inform what the graph would look like.

For example, if the business requirement is "I should see everything my team-mates see", it could be solved by traversing via a relation reports in a manager (which is the inverse of manager). It would not cause a cycle because it's not recursive (you can see everything your peers see, but…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@imclem
Comment options

@vroldanbet
Comment options

Answer selected by imclem
@imclem
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants