bcquality/microsoft/knowledge/security/compose-permission-sets-with-included-sets.bad.al
Jesper Schulz-Wedde 347984ac74 Promote security knowledge from community to Microsoft layer
Pure git-mv relocation of the SECURITY domain from the community layer to the Microsoft layer. No content changes.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-25 14:03:22 +02:00

21 lines
617 B
AL

// Two role-shaped sets, each re-enumerating the same objects. Adding a new
// Sales table means editing both sets by hand; forgetting one creates a
// subtle authorization bug where one role was updated and its sibling was not.
permissionset 50110 "Sales Order Processor"
{
Assignable = true;
Permissions =
tabledata Customer = IM,
tabledata "Sales Header" = IMD,
tabledata "Sales Line" = IMD;
}
permissionset 50111 "Sales Viewer"
{
Assignable = true;
Permissions =
tabledata Customer = R,
tabledata "Sales Header" = R,
tabledata "Sales Line" = R;
}