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

Limited access does not work with the configuration of groups : UsersDrivenLdapAndJdbc and users : LdapAndSqlFrontOfficeSiteAwareUsersManager

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.7
    • None
    • None
    • None

      Configuration in the back-office :

              <org.ametys.runtime.user.UsersManager.FO>org.ametys.web.frontoffice.LdapAndSqlFrontOfficeSiteAwareUsersManager</org.ametys.runtime.user.UsersManager.FO>
              <org.ametys.runtime.group.GroupsManager.FO>org.ametys.web.frontoffice.group.UsersDrivenLdapAndJdbc</org.ametys.runtime.group.GroupsManager.FO>
      
      

      Configuration in the front-office :

      <org.ametys.runtime.user.UsersManager>org.ametys.plugins.site.users.SiteCredentialsAwareLdapAndJdbc</org.ametys.runtime.user.UsersManager>
      
      <org.ametys.runtime.group.GroupsManager>org.ametys.runtime.plugins.core.group.UserDrivenLdapAndJdbc</org.ametys.runtime.group.GroupsManager>
      

      I limit the root sitemap to all connected users.
      I limit a section to a local group (which includes LDAP + local users).
      On the front if I try to access the section (so that I have the rights), I get an error "access denied"

      Caused by: org.ametys.runtime.authentication.AccessDeniedException: Access to page vie-de-la-collectivite/notes-de-services/diffusion-restreinte/notes-finances is not allowed for user anyware
      	at org.ametys.web.pageaccess.IsPageRestrictedAction.act(IsPageRestrictedAction.java:102)
      	at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTypeNode.java:120)
      	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
      	at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
      	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
      	at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
      	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
      	at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
      	at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:236)
      	at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:178)
      	at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
      	at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118)
      	... 55 more
      

            Unassigned Unassigned
            lperier Laurence Perier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: