-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
will closeLabel to flag issues that will close this sprintLabel to flag issues that will close this sprint
Description
Our current RBAC structure doesn't work very well for developing streamlit apps based on data in the prod marts database (ANALYTICS_PRD):
- Streamlit apps are database objects that need to be created in a specific place with a specific role
- When developing a streamlit app, it makes most sense to use the
ANALYTICS_DEVdatabase andREPORTER_DEVrole. - But that role doesn't have access to the prod data
- Normally when using external BI tools, people can connect using the
REPORTER_PRDrole. This is pretty safe, since it only has read-only permissions on that data. - But if they enable the
TRANSFORMER_PRDrole, they have to create the streamlit app in theANALYTICS_PRDdatabase. This isn't particularly satisfying as a developer to create test objects in prod.
There are a few things we might want to consider:
- Are there any tweaks to the RBAC structure that would make this work better?
- Can we solve this with documentation? Perhaps the best way is to just have the user build the appropriate marts in
ANALYTICS_DEVand develop against that. With appropriate dbt deferral, it needn't be super onerous to do that. - Can we change the execution role of a streamlit app after it is created?
Metadata
Metadata
Assignees
Labels
will closeLabel to flag issues that will close this sprintLabel to flag issues that will close this sprint