Obtaining a summary list of Web Screens

Obtaining a summary list of Web Screens

  
Hello all.
 
I was looking for a way to get a summary list of Web Screens used in our solution, and, if possible, a list of Roles that has access to each Screen.
Originally, I was using SQL to request the data from the Outsystems database, and have already generated this so far:
 
SELECT SP.NAME AS "ESPACE NAME", SC.NAME AS "SCREEN NAME", SC.ID AS "SCREEN ID"
FROM OSSYS_ESPACE SP
INNER JOIN OSSYS_ESPACE_SCREEN SC
ON SP.ID = SC.ESPACE_ID
WHERE SP.NAME NOT LIKE '%deleted%';
 
This generated a list of Web Screens and their corresponding eSpaces. However, after continued analysis, I cannot figure out how the OSYSS_ROLE table joins with the OSSYS_ESPACE_SCREEN.
 
Is there a join somewhere I’m missing, or is there an easier way to solve my initial problem?
It may wel be true that the roles of a screen are embedded in the .OML files, and are not registered in the database. There was a recent post about it.