frappe / erpnext

Free and Open Source Enterprise Resource Planning (ERP)
https://erpnext.com
GNU General Public License v3.0
17.49k stars 6.68k forks source link

Standard Reports Ignoring User Permissions #36930

Open moizsami opened 9 months ago

moizsami commented 9 months ago

Information about bug

Hello,

I have set multiple user permissions for each user in my system, such as on customer group, price list, etc..

When I try to access certain reports such as 'Inactive Customers' from a restricted user, the user is able to see details for other customer groups as well, Which is not correct.

For Example if User 'Adam' is restricted to 'East Coast' customer group, in the reports it should only display data of customers who are part of 'East Coast' customer group, instead it is showing all customer's data.

Since I am using Frappe Cloud, I am unable to modify the report. Need help in solving these issues with such reports.

Regards,

Module

accounts, buying, selling

Version

Frappe Framework: v14.44.0 ERPNext: v14.34.3

Installation method

FrappeCloud

Relevant log output / Stack trace / Full Error Message.

No response

shoaib0300 commented 9 months ago

@moizsami Check the role permissions assigned to the 'Adam' user to ensure that there are no roles with conflicting permissions that might be affecting data access.

Since you are using FrappeCloud, you can reach out to their support team to investigate the issue further. They may be able to assist in diagnosing and resolving the problem.

naqeeb0098 commented 3 months ago

Information about bug

Hello,

I have set multiple user permissions for each user in my system, such as on customer group, price list, etc..

When I try to access certain reports such as 'Inactive Customers' from a restricted user, the user is able to see details for other customer groups as well, Which is not correct.

For Example if User 'Adam' is restricted to 'East Coast' customer group, in the reports it should only display data of customers who are part of 'East Coast' customer group, instead it is showing all customer's data.

Since I am using Frappe Cloud, I am unable to modify the report. Need help in solving these issues with such reports.

Regards,

Module

accounts, buying, selling

Version

Frappe Framework: v14.44.0 ERPNext: v14.34.3

Installation method

FrappeCloud

Relevant log output / Stack trace / Full Error Message.

No response

yes i have same issue i have also restrict my customer to specific sales person but when he open the reports he willa able to see data of all sales mans how can i fix this issue