[Bug]: [E-Document Core] Page 6187 "E-Doc. Status FactBox" is missing from permission set "E-Doc. Core - Objects"
Describe the issue
Page 6187 "E-Doc. Status FactBox" was added in #11483. It is placed as a part on 25 standard pages through page extensions: Sales Order, Sales Invoice, Sales Credit Memo, Reminder, Finance Charge Memo, the service documents, the posted documents, Posted Transfer Shipment, and Customer and Vendor Ledger Entries (for example src/Apps/W1/EDocument/App/src/Extensions/EDocSalesOrder.PageExt.al).
The page is not included in permission set 6100 "E-Doc. Core - Objects" (src/Apps/W1/EDocument/App/Permissions/EDocCoreObjects.PermissionSet.al). Page 6434 "E-Document Messages FactBox", which sits on the same 25 pages, is included with X.
As a result, a user who holds "E-Doc. Core - Edit" and gets page access from custom permission sets, with no page wildcard and no SUPER, cannot open a Sales Order card. The client shows:
The current permissions prevented the action. (Page 6187 E-Doc. Status FactBox Execute: E-Document Core)
Users on the standard D365 roles get Execute through the page wildcard in "BaseApp Objects - Exec", so this error should not reach them, if I'm not mistaken.
The same gap exists on main, releases/29.0, releases/29.1 and releases/29.x.
Two more objects have the same gap: page 6111 "Inbound E-Doc. Picture" (a part on Purchase Invoice, Purchase Invoices, Posted Purchase Invoice, Posted Purchase Invoices, Inbound E-Documents and E-Document Purchase Draft) and codeunit 6247 "E-Doc. Navigate Handler" (added by #11483, it subscribes to page Navigate with SkipOnMissingPermission = false). I read these two from the code and have not seen them fail in production.
Expected behavior
A user with the E-Document Core permission sets can open the standard documents that host the E-Document factboxes and can use Find entries. The factboxes the app places on standard pages, and its Navigate subscriber, have Execute in "E-Doc. Core - Objects".
Steps to reproduce
- On BC 29.x with E-Document Core installed, create a user with "E-Doc. Core - Edit" and custom permission sets that cover the usual sales work with no page wildcard, without SUPER or a D365 role.
- Sign in as that user and open any Sales Order.
- The error above is shown.
- Read table "Expanded Permission" for role "E-Doc. Core - Read", Object Type Page: page 6434 is there with Execute = Yes, and page 6187 has no row.
Additional context
Observed on BC 29.0.56880 (E-Document Core 29.0.54011). Workaround: a tenant permission set that grants Execute on Page 6187.
Suggested fix: add page "E-Doc. Status FactBox" = X, to "E-Doc. Core - Objects", next to "E-Document Messages FactBox", and the same for the two objects above. A backport to 29.x would help, since the page ships there.
Corrected on 2026-11-04: the Messages FactBox is page 6434, not 6186; 25 pages, not about 20; only page 6434 shares those pages; and the error reaches users with no page wildcard, not every user without SUPER.
I will provide a fix for a bug
- [x] I will provide a fix for a bug
:robot: AI triage completed. Product group, please validate the triage report (Microsoft internal access only, use Ctrl+Click to open in new tab).
Was this triage helpful? React with :thumbsup: or :thumbsdown: on this comment to provide feedback.
Approved!
Thanks @JesperSchulz ! The pull request is up: #13679.
While preparing it I corrected this issue's text. The Messages FactBox is page 6434, not 6186, and the error reaches users with no page wildcard, not every user without SUPER.
The PR also covers page 6111 and codeunit 6247, which have the same gap in the same permission set.
The page also ships in 29.x, so I would like to backport after the merge. The backport check needs this issue open, so it would need a reopen at that point, if I'm not mistaken.
Backport is up: #14292