You do not have enough permissions to access this resource. Please contact your manager to get access

Hi Community,
I have ceated a user which has roles[supplier, stock manager] and have given user permissions on doctype stock entry for the same.But when i login i am getting the above error and not able to figure out how it can be resloved.

Traceback (most recent call last):
File “/home/mansi/WS/sts/frappe-bench/apps/frappe/frappe/”, line 62, in application
response = frappe.api.handle()
File “/home/mansi/WS/sts/frappe-bench/apps/frappe/frappe/”, line 58, in handle
return frappe.handler.handle()
File “/home/mansi/WS/sts/frappe-bench/apps/frappe/frappe/”, line 24, in handle
data = execute_cmd(cmd)
File “/home/mansi/WS/sts/frappe-bench/apps/frappe/frappe/”, line 63, in execute_cmd
return, **frappe.form_dict)
File “/home/mansi/WS/sts/frappe-bench/apps/frappe/frappe/”, line 1074, in call
return fn(*args, **newargs)
File “/home/mansi/WS/sts/frappe-bench/apps/frappe/frappe/”, line 534, in wrapper_fn
retval = fn(*args, **get_newargs(fn, kwargs))
File “/home/mansi/WS/sts/frappe-bench/apps/frappe/frappe/desk/”, line 223, in get_desktop_page
wspace = Workspace(page)
File “/home/mansi/WS/sts/frappe-bench/apps/frappe/frappe/desk/”, line 32, in init
raise frappe.PermissionError

Although this is happening only in private window