CSPACE-5943: Added comments, pseudocode for adding an inAuthority restriction to the SQL query.