Introduce permissions in Dagit UI. By default, all permissions are true.
Throughout the app, use permission checks to disable or hide pieces of UI that should be unavailable to the viewer.
Differential D7839
[dagit] Permissions • dish on May 10 2021, 7:20 PM. Authored by Tags None Referenced Files
Subscribers None
Details
Introduce permissions in Dagit UI. By default, all permissions are true. Throughout the app, use permission checks to disable or hide pieces of UI that should be unavailable to the viewer. Force permissions to be false across the board. For each location in Dagit where permissions are checked, verify that the relevant button/link/control is disabled or removed.
Diff Detail
Event TimelineComment Actions This looks great! Exciting to see a permissions layer coming together. I think it'd be nice to try making a container component that applies the disabled + tooltip but it's pretty clean already with hook approach!
|