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

Strict User Permission not working for cost center #32710

Open
zerodiscount opened this issue Oct 25, 2022 · 0 comments
Open

Strict User Permission not working for cost center #32710

zerodiscount opened this issue Oct 25, 2022 · 0 comments

Comments

@zerodiscount
Copy link

Information about bug

Setting: Branch user (accounts module) with user permission on cost center (restricted to branch cost center) and strict user permissions are enabled.

  • By default - when the P&L standard report is run - the cost center filter is not applied - and the query returns result with a blank cost center field. In this instance, branch user is able to see company wide profitability. When user clicks on the cost center filter - then in drop down - the choice is blank or their cost center. As soon as they select their cost center - then branch P&L is shown. However by default - since no filter is applied, a branch user is able to "escape" their user permission and see company wide data (all standard financial reports).

  • When user logs in - the accounting dashboard shows P&L Chart of corporate level profitability by default.

Module

accounts

Version

Frappe 14.12.0
ERPNext 14.3.1

Installation method

manual install

Relevant log output / Stack trace / Full Error Message.

No response

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

No branches or pull requests

2 participants