Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-25817

Invalid subtree path when assigning role with subtree limitation

    XMLWordPrintable

Details

    Description

      When adding a subtree limitation to a role using the "Users and Groups" tab under a role, an invalid subtree path is created missing a trailing /.

      Steps to reproduce:
      • Goto Roles in the admin ui.
      • Click "Editor" under the name column.
      • Select the "Users and Groups using the <Editor> role" tab
      • "Assign to users/groups with subtree limitation"
      • Select subtree and confirm selection.
      • Select "Editors" user group and confirm selection.
      • ( due to cache, Navigate to "Admin/roles" navigation item and back to "Users and Groups using the <Editor> role" tab.)

      You will see a new limitation beside editors "Subtree( /1/2 )" that is missing the trailing slash. Which will throw exceptions in the Subtree criterion constructor.

      Video: https://youtu.be/gNcmraYiKf4

      Attachments

        Activity

          People

            Unassigned Unassigned
            feb52ca2-9206-4fa9-818f-2c4dcf3f42b0@accounts.ibexa.co Douglas Hammond
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 6 hours, 5 minutes
                6h 5m