Question 480
A Dynamics 365 Business Central development project faces this issue: An internal service codeunit must perform an approved maintenance operation without permanently granting users broad table access. Which action best addresses the requirement?
Explanation
Correct Answer
Assess narrowly scoped inherent or elevated permissions only where documented and justified, preserving least privilege. is the best response because selective elevation must be constrained to the supported operation and audited. The proposed outcome is checked by: A non-admin user can complete only the authorized operation while unrelated data writes remain denied.
Incorrect Answers
The proposed step is suitable when a publisher wants to ship permissions as source-controlled AL objects instead of undocumented manual tenant changes. It misses this case: An internal service codeunit must perform an approved maintenance operation without permanently granting users broad table access. The relevant action is Assess narrowly scoped inherent or elevated permissions only where documented and justified, preserving least privilege.
This option serves the scenario “A user can open a custom pricing page but gets a permission error when reading the underlying pricing table”. Access to a page object does not automatically grant all required data permissions. The present scenario is distinguished by “Assess narrowly scoped inherent or elevated permissions only where documented and justified, preserving least privilege”.
Although useful for a developer attempts to fix a missing read right by granting delete privileges on all custom tables., it does not test this requirement. The relevant acceptance check is A non-admin user can complete only the authorized operation while unrelated data writes remain denied.