How to hide add dashboard for Manager Inventory Role

Product/components used and version/fix level:

10.18

Detailed explanation of the problem:

I want to disable add edit and delete dashboard option for manager inventory role. I tried to handle through permissions as below by giving a fragment type.

But Add widget option is also getting disabled. How to disable only Add update and Delete dashboard options for the manager role ?

Question related to a free trial, or to a production (customer) instance?

Production

Regards
Mohan

Any inputs on above query ?

Regards
Mohan

Hi @Mohan_Pathapataa,

There is not option to keep Add widget enabled while disabling Add/Update/Delete Dashboard via permissions, as the same permissions for adding a widget are also used for updating a dashboard.

You can try disabling the Add/Update/Delete Dashboard options via e.g. CSS, but this will not stop anyone from doing these kind of operations via API.

Regards,
Tristan

Okay ! Thanks for the information.

Regards
Mohan

In case you need some example of applying some CSS based on user permissions, you can have a look at: