[CHANGE] Building data structure
This commit is contained in:
1
obs_DotBased/.obsidian/app.json
vendored
Normal file
1
obs_DotBased/.obsidian/app.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{}
|
1
obs_DotBased/.obsidian/appearance.json
vendored
Normal file
1
obs_DotBased/.obsidian/appearance.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{}
|
30
obs_DotBased/.obsidian/core-plugins.json
vendored
Normal file
30
obs_DotBased/.obsidian/core-plugins.json
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"file-explorer": true,
|
||||
"global-search": true,
|
||||
"switcher": true,
|
||||
"graph": true,
|
||||
"backlink": true,
|
||||
"canvas": true,
|
||||
"outgoing-link": true,
|
||||
"tag-pane": true,
|
||||
"properties": false,
|
||||
"page-preview": true,
|
||||
"daily-notes": true,
|
||||
"templates": true,
|
||||
"note-composer": true,
|
||||
"command-palette": true,
|
||||
"slash-command": false,
|
||||
"editor-status": true,
|
||||
"bookmarks": true,
|
||||
"markdown-importer": false,
|
||||
"zk-prefixer": false,
|
||||
"random-note": false,
|
||||
"outline": true,
|
||||
"word-count": true,
|
||||
"slides": false,
|
||||
"audio-recorder": false,
|
||||
"workspaces": false,
|
||||
"file-recovery": true,
|
||||
"publish": false,
|
||||
"sync": false
|
||||
}
|
22
obs_DotBased/.obsidian/graph.json
vendored
Normal file
22
obs_DotBased/.obsidian/graph.json
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"collapse-filter": true,
|
||||
"search": "",
|
||||
"showTags": false,
|
||||
"showAttachments": false,
|
||||
"hideUnresolved": false,
|
||||
"showOrphans": true,
|
||||
"collapse-color-groups": true,
|
||||
"colorGroups": [],
|
||||
"collapse-display": true,
|
||||
"showArrow": false,
|
||||
"textFadeMultiplier": 0,
|
||||
"nodeSizeMultiplier": 1,
|
||||
"lineSizeMultiplier": 1,
|
||||
"collapse-forces": true,
|
||||
"centerStrength": 0.518713248970312,
|
||||
"repelStrength": 10,
|
||||
"linkStrength": 1,
|
||||
"linkDistance": 250,
|
||||
"scale": 1,
|
||||
"close": true
|
||||
}
|
186
obs_DotBased/.obsidian/workspace.json
vendored
Normal file
186
obs_DotBased/.obsidian/workspace.json
vendored
Normal file
@@ -0,0 +1,186 @@
|
||||
{
|
||||
"main": {
|
||||
"id": "036516b320d15f05",
|
||||
"type": "split",
|
||||
"children": [
|
||||
{
|
||||
"id": "68f3abbbf106a47b",
|
||||
"type": "tabs",
|
||||
"children": [
|
||||
{
|
||||
"id": "9629cc68ecd8963f",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "markdown",
|
||||
"state": {
|
||||
"file": "Modules/AspNet/DotBased.Authority/Repositories/UserRepository.md",
|
||||
"mode": "source",
|
||||
"source": false
|
||||
},
|
||||
"icon": "lucide-file",
|
||||
"title": "UserRepository"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"direction": "vertical"
|
||||
},
|
||||
"left": {
|
||||
"id": "97d2b7eaa5b0817b",
|
||||
"type": "split",
|
||||
"children": [
|
||||
{
|
||||
"id": "4ab704d9f07468d7",
|
||||
"type": "tabs",
|
||||
"children": [
|
||||
{
|
||||
"id": "2dcd0dffd753993c",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "file-explorer",
|
||||
"state": {
|
||||
"sortOrder": "alphabetical"
|
||||
},
|
||||
"icon": "lucide-folder-closed",
|
||||
"title": "Files"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "4a5d90d4f8e6e8b9",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "search",
|
||||
"state": {
|
||||
"query": "",
|
||||
"matchingCase": false,
|
||||
"explainSearch": false,
|
||||
"collapseAll": false,
|
||||
"extraContext": false,
|
||||
"sortOrder": "alphabetical"
|
||||
},
|
||||
"icon": "lucide-search",
|
||||
"title": "Search"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "26ebe543611d3a9b",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "bookmarks",
|
||||
"state": {},
|
||||
"icon": "lucide-bookmark",
|
||||
"title": "Bookmarks"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"direction": "horizontal",
|
||||
"width": 300
|
||||
},
|
||||
"right": {
|
||||
"id": "37b39260b7304344",
|
||||
"type": "split",
|
||||
"children": [
|
||||
{
|
||||
"id": "233acbe146cb7e31",
|
||||
"type": "tabs",
|
||||
"children": [
|
||||
{
|
||||
"id": "61d17c9ee7d66c50",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "backlink",
|
||||
"state": {
|
||||
"file": "Modules/AspNet/DotBased.Authority/Repositories/UserRepository.md",
|
||||
"collapseAll": false,
|
||||
"extraContext": false,
|
||||
"sortOrder": "alphabetical",
|
||||
"showSearch": false,
|
||||
"searchQuery": "",
|
||||
"backlinkCollapsed": false,
|
||||
"unlinkedCollapsed": true
|
||||
},
|
||||
"icon": "links-coming-in",
|
||||
"title": "Backlinks for UserRepository"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "9edca2501ca8fc8d",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "outgoing-link",
|
||||
"state": {
|
||||
"file": "Modules/AspNet/DotBased.Authority/Repositories/UserRepository.md",
|
||||
"linksCollapsed": false,
|
||||
"unlinkedCollapsed": true
|
||||
},
|
||||
"icon": "links-going-out",
|
||||
"title": "Outgoing links from UserRepository"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "a0b5dc7ca04cc4f8",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "tag",
|
||||
"state": {
|
||||
"sortOrder": "frequency",
|
||||
"useHierarchy": true
|
||||
},
|
||||
"icon": "lucide-tags",
|
||||
"title": "Tags"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "25f7df275652ff82",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "outline",
|
||||
"state": {
|
||||
"file": "Modules/AspNet/DotBased.Authority/Repositories/UserRepository.md"
|
||||
},
|
||||
"icon": "lucide-list",
|
||||
"title": "Outline of UserRepository"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"direction": "horizontal",
|
||||
"width": 300,
|
||||
"collapsed": true
|
||||
},
|
||||
"left-ribbon": {
|
||||
"hiddenItems": {
|
||||
"switcher:Open quick switcher": false,
|
||||
"graph:Open graph view": false,
|
||||
"canvas:Create new canvas": false,
|
||||
"daily-notes:Open today's daily note": false,
|
||||
"templates:Insert template": false,
|
||||
"command-palette:Open command palette": false
|
||||
}
|
||||
},
|
||||
"active": "9629cc68ecd8963f",
|
||||
"lastOpenFiles": [
|
||||
"Modules/AspNet/DotBased.Authority/Repository.md",
|
||||
"Modules/AspNet/DotBased.Authority/Repositories/UserRepository.md",
|
||||
"Modules/AspNet/DotBased.Authority/Repositories",
|
||||
"Modules/AspNet/DotBased.Authority/Data diagram.canvas",
|
||||
"Modules/AspNet/DotBased.Authority/Models/AuthorityAttribute.md",
|
||||
"Modules/AspNet/DotBased.Authority/Models/AuthorityUser.md",
|
||||
"Modules/AspNet/DotBased.Authority/Models/AuthorityRole.md",
|
||||
"Modules/AspNet/DotBased.Authority/Models/AuthorityGroup.md",
|
||||
"Modules/AspNet/DotBased.Authority/Models",
|
||||
"Untitled.canvas",
|
||||
"Modules/AspNet/DotBased.Authority.md",
|
||||
"Modules/AspNet/DotBased.Authority",
|
||||
"DotBased.md",
|
||||
"Modules/Untitled",
|
||||
"Modules/DotBased.Data",
|
||||
"Modules/AspNet",
|
||||
"Modules",
|
||||
"Welcome.md"
|
||||
]
|
||||
}
|
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"nodes":[
|
||||
{"id":"d06f84f5cb83d5b3","type":"file","file":"Modules/AspNet/DotBased.Authority/Models/AuthorityUser.md","x":-660,"y":-740,"width":400,"height":400},
|
||||
{"id":"20469f32c2b97d54","type":"file","file":"Modules/AspNet/DotBased.Authority/Models/AuthorityGroup.md","x":-180,"y":-740,"width":400,"height":400},
|
||||
{"id":"54394f02266f386b","x":-180,"y":-1480,"width":400,"height":400,"type":"file","file":"Modules/AspNet/DotBased.Authority/Models/AuthorityAttribute.md"},
|
||||
{"id":"e38f59f13e522e10","x":-340,"y":-190,"width":250,"height":60,"color":"5","type":"text","text":"#### UsersGroups"},
|
||||
{"id":"cfabf37254bf9b94","x":-340,"y":-40,"width":250,"height":60,"color":"5","type":"text","text":"#### UserRoles"},
|
||||
{"id":"d306221d0fc3815f","x":300,"y":-740,"width":400,"height":400,"type":"file","file":"Modules/AspNet/DotBased.Authority/Models/AuthorityRole.md"},
|
||||
{"id":"3c9bc17b3a311b43","x":140,"y":-190,"width":250,"height":60,"color":"5","type":"text","text":"#### GroupsRoles"}
|
||||
],
|
||||
"edges":[
|
||||
{"id":"591458f8b454aec0","fromNode":"d06f84f5cb83d5b3","fromSide":"bottom","toNode":"e38f59f13e522e10","toSide":"left"},
|
||||
{"id":"a5758a4bbb7fe559","fromNode":"20469f32c2b97d54","fromSide":"bottom","toNode":"e38f59f13e522e10","toSide":"right"},
|
||||
{"id":"86bf0eb2ae0fcfdc","fromNode":"d06f84f5cb83d5b3","fromSide":"bottom","toNode":"cfabf37254bf9b94","toSide":"left"},
|
||||
{"id":"64a58417d746183f","fromNode":"d306221d0fc3815f","fromSide":"bottom","toNode":"cfabf37254bf9b94","toSide":"right"},
|
||||
{"id":"e5825aa1415a34c4","fromNode":"20469f32c2b97d54","fromSide":"bottom","toNode":"3c9bc17b3a311b43","toSide":"left"},
|
||||
{"id":"0aa9af60a44a83dd","fromNode":"d306221d0fc3815f","fromSide":"bottom","toNode":"3c9bc17b3a311b43","toSide":"right"},
|
||||
{"id":"1958b5d5b82c10d7","fromNode":"54394f02266f386b","fromSide":"bottom","toNode":"d06f84f5cb83d5b3","toSide":"top"},
|
||||
{"id":"c71f1f3fc3e239f3","fromNode":"54394f02266f386b","fromSide":"bottom","toNode":"20469f32c2b97d54","toSide":"top"},
|
||||
{"id":"bd026c0a356725a5","fromNode":"54394f02266f386b","fromSide":"bottom","toNode":"d306221d0fc3815f","toSide":"top"}
|
||||
]
|
||||
}
|
@@ -0,0 +1,2 @@
|
||||
Attributes to store some extra metadata.
|
||||
One attribute per table entry.
|
@@ -0,0 +1,2 @@
|
||||
Groups can have multiple [[AuthorityUser]]s and holds [[AuthorityRole]]s .
|
||||
Can be extended with extra data from [[AuthorityAttribute]]s
|
@@ -0,0 +1 @@
|
||||
Roles used for permissions and specific [[AuthorityAttribute]]s. Can get added to [[AuthorityUser]] and [[AuthorityRole]]
|
@@ -0,0 +1 @@
|
||||
An user can be in multiple [[AuthorityGroup]]s, can have own [[AuthorityRole]]s and [[AuthorityAttribute]]s.
|
@@ -0,0 +1,6 @@
|
||||
Handles the db for user models.
|
||||
|
||||
## GetUsers (list)
|
||||
- Search
|
||||
- Paging (limit, offset)
|
||||
- Returns useritem
|
Reference in New Issue
Block a user