superset-api-client
superset-api-client copied to clipboard
Support roles as a list property of Dashboards
The roles input field is revealed after enabling DASHBOARD_RBAC flag.
The information was already retrieved, but now also stored in the Dashboard during json processing.
I am still working on saving a Dashboard with roles attached. This is not working yet because the save function in base.py is not yet converting the list of Role objects to json.
Hi @ecederstrand or other supersetapiclient developer, I'm done with the changes I needed to store the Roles of a Dashboard. I have applied these changes to my superset setup and they work. I would like to follow through on this PR and merge it.
- Is the correct target branch set on this PR? I noticed some more changes on develop.
- Are units test available which I can expand on?
- I would like to expand documentation in README.md regarding the feature I'm adding, but I would like to do it in a separate PR, is that ok?
Hello @ljpeters ,
Thank you for your contribution. I was on vacations and unable to respond sooner.
- The correct target branch should be develop
- On master & develop, there is a skeleton for unit testing the client but it does not yet cover everything.
- Yes please do it in a separate PR, I will then approve it. At some point we should also release some official documentation on a website.
Thanks again
@ljpeters If you merge the latest develop into this branch, then there's now a full test suite you can add test cases to, with lots of examples on how to write tests cases.
Is this still in progress?