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

Can't access user permission because of resource from an other site

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 4.8.2, 4.9.0
    • 4.8.2, 4.9.0
    • None
    • None
    • 4.9.0 M1
    • Oui

      Following CMS-12180, accessing the user permission tool for a user with access on resource from an other site fails with the following error :

      Unsupported object '/ametys-internal:sites/www2' (site://61f2a272-bea4-4836-a3e7-25c9abd7f049)
      org.ametys.core.right.RightsException: Unsupported object '/ametys-internal:sites/www2' (site://61f2a272-bea4-4836-a3e7-25c9abd7f049)
          at org.ametys.plugins.explorer.rights.ResourceAccessController.getObjectLabel(ResourceAccessController.java:173)
          at org.ametys.plugins.explorer.rights.ResourceAccessController.getObjectLabel(ResourceAccessController.java:168)
          at org.ametys.core.right.AccessController.getExplanationObject(AccessController.java:397)
      

      It comes from the fact that explorer root from an other site is detected as supported but the getExplanationObject only support the root of the current site

            ggouin Guillaume Gouin
            ggouin Guillaume Gouin
            Guillaume Gouin Guillaume Gouin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: