-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
role graph serialization for front-end usage #16
Comments
Or a more general format: {
key: "A",
value: 5,
children: [
{
key: "B",
value: 1,
children: [
{
key: "C".
value: 3,
children: []
}
]
}
]
} The second format is more general but actually we dont care about |
A difficulty of serialization is |
Visual analysis is good idea. Yang had the same idea. |
Actually I planned to have this feature in the new Casbin dashboard project: https://dashboard.casbin.org/ but actually no progress for now because we are just in lack of developers :( |
Casbin dashboard is deprecated. We will visualize the role inheritance in Casdoor web portal UI. |
I have a covid-19 project which shows virus propagation chain, so I came up with a small idea of serializing role links which can be useful for analyzing.
basically the serialized json should be similar to the following to be used by frontend libraires such as d3.js
The text was updated successfully, but these errors were encountered: