How to create different desk layouts, based on user role.

We have just migrated a site to V16 and am looking for some guidance on how to create different desk (workspace) layouts, which we can link to a role or role profile. We can edit the workspace for a module, but need the layouts to be role driven.

This is for ease of maintenance and to create a clean UI for each role.

Any guidance would be appreciated.

For role-based workspace layouts in Frappe, the simplest approach is:

  1. Create a separate Public Workspace for each role “HR Officer Desk”
  2. In each workspace’s settings, assign the Roles that should see it users without those roles won’t see it.
  3. Set the Home Page field on the Role doctype to point to that workspace, so users land there after login.

Hi,
Thanks for the assistance. I suspect I am battling due to the issue logged about bug with creating a new workspace in V16.

As soon as new workspaces can be created, I will follow your guidance.
Thank you.

1 Like