Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-6277

Too many requests during authentication on Front-office

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 3.5.6, 3.7.2, 3.8
    • None
    • None
    • None

      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);
                  }
      

            raphael Raphaƫl Franchet
            fravetier Frederic Ravetier (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: