The request is : SELECT Group_Id FROM FOGroups_Users WHERE Login = ?
package org.ametys.web.inputdata.SitemapInputData;
_accessManager.hasRight(page, login) should be in the OR and the OR should be ordered differently for better performances
PageAccessInfo info = _accessManager.getAccessInfo(page); boolean accessGranted = _accessManager.hasRight(page, login); if ((inBackOffice || accessGranted || policy == RestrictedPagePolicy.DISPLAYED) && _processPage(page)) { _saxPage(handler, currentPagePath, currentDepth, descendantDepth, policy, login, page, info); }