Hide "Create Workspace" button from certain Users

Every User has access to see “Create Workspace” button next to Edit button, is there any way to hide it from certain User? Kindly let me know if there any

@vaibhavverma check this How to hide Create Workspace from certain user roles?

Thanks, But i have already visited that and they are providing backend code but I have to handle that functionality from frappe portal itself

@vaibhavverma can you tell me your frappe version

its 15

@vaibhavverma fix: allow creation of workspace based on desk user role perms (backport #26617) by mergify[bot] · Pull Request #26659 · frappe/frappe · GitHub
version 15.29.1

thanks, let me check

but still we have to go to backend code right?

@vaibhavverma yes

but the link you provided there is code that we need to add in code files, so how it gonna work without going backend code

That link is code for Frappe itself.
If you upgrade to Frappe version 15.29.1 or later, then the button is only visible when the user have permission for Create Workspace.