Skip to content

Commit 6d0deb9

Browse files
authored
docs: add ER diagram
1 parent c810687 commit 6d0deb9

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

docs/permissions.md

+13
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,16 @@ When there are multiple active **Member Function Categories** for a member/user,
2020
If a member/user is allowed to view/edit the personal data of other members, the default **User Permission** _Allow **LANDA Member** for value "AVL-001-001"_ will be removed.
2121

2222
If a member/user is allowed access to lower level organizations, the default **User Permission** _Allow **Organization** for value "AVL-001"_ will be adjusted. For example, to _Allow **Organization** for value "AVL"_.
23+
24+
```mermaid
25+
erDiagram
26+
USER ||--o{ USER-PERMISSION : restricted-by
27+
USER ||--o{ ROLE : has
28+
USER-PERMISSION |o--o{ ORGANIZATION : restricts-to
29+
USER-PERMISSION |o--o| LANDA-MEMBER : restricts-to
30+
USER ||--|| LANDA-MEMBER : belongs-to
31+
LANDA-MEMBER ||--o{ MEMBER-FUNCTION : has
32+
MEMBER-FUNCTION ||--|| MEMBER-FUNCTION-CATEGORY : has-type
33+
MEMBER-FUNCTION-CATEGORY ||--o{ ROLE : grants
34+
MEMBER-FUNCTION-CATEGORY ||--o{ USER-PERMISSION : removes
35+
```

0 commit comments

Comments
 (0)