Default Breadcrumbs Do Not Follow Role Permissions – Is It a Bug?

I have checked and found that the default value is taken from the first item in frappe.boot.module_wise_workspace.


However, module_wise_workspace is not filtered based on role permissions. As a result, when a user navigates back using breadcrumbs, it may lead to a permission error. Would this be considered a bug?
image