You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ref(dashboards): Fixes and refactoring for edit access selector button (#80633)
#79833
Some fixes for the Edit Access dropdown button in Dashboards.
1. modified behaviour of `Save Changes` button in
`EditAccessSelector.tsx` so that it's enabled only when the changed
selections are not the same as the existing perms
2. pass down props so that Widget edit buttons are disabled when user
does not have edit perms
3. pass down props to top level dashboard filters so that users without
edit perms cannot save changes
4. pass down props to widget context menu to disable the `Edit Widget`
button there
<img width="500" alt="Screenshot 2024-11-13 at 11 04 49 AM"
src="https://github.com/user-attachments/assets/7931fbb5-620d-46e7-bde5-b832b6978554">
<img width="500" alt="Screenshot 2024-11-14 at 4 12 23 PM"
src="https://github.com/user-attachments/assets/f83c3d66-16d0-4e12-8184-a645bb4a2be7">
0 commit comments