Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-2950

Incorrect parent context evaluation in the hierarchical rights manager

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major Major
    • 4.2.0
    • None
    • Général
    • None

      How to reproduce:

      • Use an user that has a right on the root CMS context '/application'
      • Check a rights on context '/contributor'. In the CMS, the right context prefix extension point will add '/application' to the prefix.
      • The right manager will test the right on context '/application/contributor' and will return false (OK). Then it will test the right on the context '/application/' instead of '/application', hence it return false again.

      This can be tested with the HasRightAction and StaticClientSideElement.
      There are issues with two methods :

      • hasRight (see how to reproduce above)
      • hasRightOnContextPrefix (it does not work too, even if the cause are a bit different than in the previous case).

            Unassigned Unassigned
            trizzi Thibaut Rizzi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: