microsoft / microsoft/BCApps

[Bug]: Employee balance visible for users with indirect read Detailed Employee Ledger Entry

Open
#11,526 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Team: SCM
Dominant language
AL
Stars
683
Forks
459
Avg merge
3d 26m
Merged PRs (30d)
633

Description

Describe the issue

I suggest add the AccessByPermission = tabledata "Detailed Vendor Ledg. Entry" =R; for balance fields on employee table.

Expected behavior

For users with indirect read Detailed Employee Ledger Entry the balance field on employee card is not visible

Steps to reproduce

User have the indirect read Detailed Employee Ledger Entry.
Open employee card
The Balance field is visible

Additional context

No response

I will provide a fix for a bug
  • I will provide a fix for a bug

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the Employee table and employee card entry points, then inspect how balance fields and access to Detailed Employee Ledger Entry are defined. Reproduce the case with indirect read permission and verify that the balance field is not visible while users with the required access retain the expected behavior.

Written by the indexing model from the issue text.

Assessment

Domain
authorization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
62/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.