Can I create a table with the col names pulled from rows

Hello Bubblers - in the past when I’ve done projects with role-based authorization, I’ve used a table with permission blocks (in my current case, pages) to give an at-a-glance view of which roles could do what.
It looked something like this:

That data was populated from a table something like this:

I’ve been trying to come up with a way to do the same in Bubble - basically, I want a grid (I’m assuming a repeating grid, and maybe that’s my stumbling block) with the first row the unique page names from the data table, the first column the unique user roles, and the table body some kind of boolean visual indicator of whether a given role has access to a page.

I feel like there’s a better way to describe this, but that’s the best I can do right this minute.

Any and all help is appreciated, and thanks in advance for it!