Help Needed for Hiding "Create Workspace" and "Edit" Based on User Roles

We need assistance in hiding the “Create Workspace” and “Edit” options on our ERPNext Desk Page based on user roles

Shubham P

@Shubham_Prabhat1 remove the workspace manager role from the user .
the user still can create workspace but only private ones, and he can’t edit standard workspaces .

i already have done this,

but I don’t need to be show there for create private space ones also



have you find the solution?