PermissionMatrix renders a tabular grid of checkboxes organized by resource (rows) and action (columns). It supports implied permission logic (e.g., selecting "Edit All" auto-selects "View All" and "View Own"), row-level toggle via an indeterminate checkbox, and a disabled read-only state.