Add the ability to mark a visualization as confidential to disable sharing

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Problem to solve

As part of Allow users to download/share/embed a chart pan... (&8940) we want to give users the ability to disable the sharing actions introduced in Add "Share image with URL" action to dashboard ... (#460471) and Add download image action to dashboard panels (#460470).

Proposed solution

Add the ability to mark a visualization as private / confidential. When true this would disable the sharing actions.

We could consider simply adding this as an optional field to visualization configurations.

Implementation plan

🚧 TBD

Edited by 🤖 GitLab Bot 🤖