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

Incorrect permission for managers -> directs #1566

Open
akhashogji opened this issue Mar 19, 2024 · 2 comments
Open

Incorrect permission for managers -> directs #1566

akhashogji opened this issue Mar 19, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@akhashogji
Copy link

Information about bug

I have an employee who is the manager of other 7 employees (he's employee id is in the Report To field for all 7). Yet, while checking his permissions using Permitted Documents For User I can only see 4 (including himself). The other 4 are missing.
As a workaround, I manually remove and re-add him as the Report To for the missing 4 employees. What's weird is after doing that, now he has access to employees who he doesn't manage (nor is a skip line manager).

This happens with multiple managers. Not sure what's the issue

Version

ERPNext: v14.65.3 (version-14)
Frappe Framework: v14.67.1 (version-14)
Frappe HR: v14.24.0 (version-14)
Payments: v0.0.1 (develop)

Installation method

manual install

@akhashogji akhashogji added the bug Something isn't working label Mar 19, 2024
@akhashogji
Copy link
Author

Also, the org chart is showing wrong number of "connections"
image

@ankush ankush transferred this issue from frappe/frappe Mar 20, 2024
@akhashogji
Copy link
Author

@ruchamahabal can you check this?

@ruchamahabal ruchamahabal self-assigned this Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants