Comments (4)
Source for the diagram above - plantuml + vscode is pretty neat!
@startuml Superset Data Access Models
title SIP #125 - Superset Data Access Models
' hide the spot
' hide circle
' avoid problems with angled crows feet
skinparam linetype ortho
!theme blueprint
'left to right direction
scale 4
package "FAB Security Models" #black {
entity "User" as user {
*id: number <<generated>>
--
uuid
*name : text
}
entity "Group" as group {
*id: number <<generated>>
--
uuid
*name : text
}
entity "Role" as role {
*id: number <<generated>>
--
uuid
*name : text
}
entity "Permission" as fab_permission {
*id: number <<generated>>
--
uuid
*name : text
}
entity "ViewMenu" as fab_viewmenu{
*id: number <<generated>>
--
uuid
*name : text
}
entity "PermissionView" as fab_permission_view{
*id: number <<generated>>
--
uuid
*name : text
}
}
package "New Data Access Models" #black {
entity "Verb" as verb {
*user_id : number <<generated>>
--
uuid
*name : text
}
entity "DataAccessRole" as data_access_role {
*user_id : number <<generated>>
--
uuid
*name : text
}
entity "DataPermission" as data_permission {
*data_perm_id: number <<generated>>
--
uuid
verb: str
entity: str
object_id: int
}
}
package "Database Models" #Black {
entity "DatabaseCatalog" as catalog {
*user_id : number <<generated>>
--
uuid
*name : text
}
entity "Schema" as schema {
*user_id : number <<generated>>
--
uuid
*name : text
}
entity "RLS" as rls {
*user_id : number <<generated>>
--
uuid
*name : text
}
entity "DatabaseConnection" as database_connection {
*user_id : number <<generated>>
--
uuid
*name : text
}
entity "Dataset" as dataset {
*user_id : number <<generated>>
--
uuid
*name : text
}
}
package "Other Models" #Black {
entity "Dashboard" as dashboard {
*user_id : number <<generated>>
--
uuid
*name : text
}
}
database_connection ||..|{ catalog
database_connection ||..|{ schema
catalog ||..|{ schema
schema ||..|{ dataset
dataset ||..|{ rls
data_access_role }|..|{ data_permission
verb ||..|{ data_permission
data_permission }|..|{ database_connection
data_permission }|..|{ dashboard
data_permission }|..|{ dataset
data_permission }|..|{ schema
user }|..|{ group
user }|..|{ role
group }|..|{ role
fab_permission ||..|{ fab_permission_view
fab_viewmenu ||..|{ fab_permission_view
fab_permission_view }|..|{ role
user }|..|{ data_access_role
group }|..|{ data_access_role
@enduml
from superset.
Closing in favor of SIP-126 - a more federated approach to RBAC/ABAC
from superset.
Should we close this as discarded if we're merging it with the other one?
from superset.
Closing this as discarded, in favor of SIP-131
from superset.
Related Issues (20)
- superset can not login in HOT 6
- Sercurity issue: clickhouse server ip & port is showing on the dashboard UI HOT 3
- password changed unexpected while using api PUT /api/v1/security/users/{pk} HOT 2
- snowflake wrong quotes on schema name with dot HOT 2
- Excess Padding in Horizontal Bar Charts When Legend is Added HOT 1
- Dashboards can be generated with dummy locations HOT 2
- Previous locations remain in the location filter when changing the account HOT 4
- Field of type date in Elasticsearch is being converted to String in Superset HOT 1
- Server Side Session with Redis Fails to Serialize LazyString Objects HOT 4
- error when use superset db migrate HOT 1
- Not work Color(fill color) the polygons in graphicseck.gl Polygons HOT 3
- Calculated column jinja templating fails in ORDER BY clause HOT 1
- Exporting issue HOT 2
- Add a new route HOT 1
- Tried reading schema message, was null or length 0 HOT 4
- Asynchronous query execution sometimes stuck in PENDING status HOT 4
- /lib64/libstdc++.so.6: cannot allocate memory in static TLS block HOT 1
- WARNING 'werkzeug.local.LocalProxy' is not mapped HOT 1
- Horizontal bar chart legend padding & sort order regression in 4.0.2rc2 HOT 3
- Exception: Unable to execute 'ecpg', you likely need to install it.' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from superset.