How to disable "create visualization" option in kibana and provide Edit access to dashboard

Iam trying create the Roles to give access for users with create dashboard using the existing visualizations, i have to disable users with edit and delete options on the visualizations

Removed kibana-plugin-development

Adding additional info,
We are trying to restrict these fields( CREATE VISUALIZATION, Controls, Add Panels) in the Dashboard.

Because disadvantage of this, Allowing users unrestricted access to create visualizations can lead to disorder in Kibana.

Is this the same issue or different issues?

To do this you need to give only Read access in the Kibana Spaces for that user roles, it is not possible to limite what kind of visualizations and where they can create, if they have write access, they will be able to create all kinds of visualizations in and out of dashboards.