LPS-43611 Extract role and owner perm checking - no logic changes
LPS-43611 Initial refactor - small performance improvements
LPS-43611 Move roles and owner filtering to the inner query
LPS-43611 SF
LPS-43611 This is faster
LPS-45001 Modifying permission check query
LPS-45001 Sort according to service.xml
LPS-43843 Add CSRF token check to prevent calling the service from outside the portal
LPS-43811 Use application/json content type to prevent rendering HTML