Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sales Analytics Report and Sales Register Report disregards User Role Permissions #43935

Open
venkat102 opened this issue Oct 30, 2024 · 1 comment
Labels

Comments

@venkat102
Copy link
Contributor

Information about bug

The Sales Analytics Report currently fetches and displays sales data for all users, regardless of their assigned roles and permissions. This includes data from branches and POS profiles that the user cannot access.

Steps to Reproduce:

  • Log in as a user with limited permissions (e.g., a branch user).

  • Access the Sales Analytics Report.

  • Observe the report data.

Expected Behavior: The report should only display sales data relevant to the user's role and permissions. For example, a branch user should only see sales data for their specific branch.

Actual Behavior: The report displays sales data for all branches and POS profiles, including those that the user is not authorized to view.

Module

selling

Version

Frappe: Version-15
ERPNext: Version-15

Installation method

None

Relevant log output / Stack trace / Full Error Message.

No response

@venkat102 venkat102 added the bug label Oct 30, 2024
@venkat102
Copy link
Contributor Author

Assigning myself

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant