Unable to Permanently Remove Workspace Icons from Desk (Icons Reappear After Refresh)

I’m facing an issue with the Desk workspace icons in Frappe.

What I’m trying to do:
I want to remove a few unwanted workspace/module icons from the Desk for specific users.

Steps I followed:

  1. Logged in as Administrator.

  2. Customized the Desk/workspace by removing the unwanted icons.

  3. Also logged in with the individual user’s account and removed the same icons.

  4. Saved the changes.

However, as soon as I refresh the page (or sometimes after logging in again), all the removed icons reappear automatically. It seems that the changes are not being persisted.

Also, the affected users do not have access to the corresponding Workspaces or DocTypes through roles or permissions, yet the icons are still visible on their Desk. Even after manually removing these icons, they reappear after a refresh.

Expected behavior:

  • Removed icons should remain hidden after saving and refreshing.

  • Users should not see workspace/module icons for Workspaces or DocTypes they do not have permission to access.

Actual behavior:

  • All previously removed icons are restored after a page refresh.

  • Users continue to see icons for Workspaces/DocTypes that they cannot access.

Has anyone experienced this issue before? Is there any cache, synchronization process, or workspace setting that could be causing the Desk layout to reset? Is this expected behavior in Frappe v16, or could it be a bug?

I’m having the same problem. I’ve even created workspaces based on the roles I set up, and I’ve adjusted the permissions for those workspaces to match each role. So, how can I solve this problem?

Did creating workspaces for each role helped you to solve the issue? Isn’t it too complex to maintain so many workspaces for different roles?

I still haven’t been able to resolve that issue. As for the icons not saving, I tried editing them and was able to save them, but that only works in administrator mode. If you’re using Docker, you might want to try restarting it with this command:
Go to the directory where your Frappe Docker files are located
docker-compose -f pwd.yml down
then
docker-compose -f pwd.yml up -d

If you mean Desk icons it’s simple just go direct to search bar → Desk Icons list→ then select and remove unwanted icons then Hard refresh Ctrl + Shft + R

If different from this you can attach screenshot to understand where you stack.

Thanks