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

(tc-419) - In "Roles and Policies", in "Function limitations", the selected values are not preserved when we select a node

    XMLWordPrintable

Details

    Description

      Hi,

      In Roles and Policies, when we choose something from "Function limitations", after selecting the node, different values were shown in the policy settings: ParentClass and Section changed to the old values

      Steps to reproduce
      Create policy
      
         1. Log in as admin in admin2
         2. Click "User accounts" in top menu
         3. Click "Roles and policies" in left menu
         4. Click "New role" button
         5. Enter formdata
            Name : rBrowser
         6. Click "New policy" button
         7. Enter formdata:
            Module : Content
            Function : Create
         8. Click "Grant full access" button
         9. Click "Save" button
      
      Edit role, try "Add node" button
      
         1. Click "Edit" button
         2. Click the edit button (pensil icon) for the "content create" policy created above
         3. Do the following selection in the selection boxes:
            Class : Article, Folder
            Section : Media
            ParentOwner : Self
            ParentGroup : Self
            ParrentClass : Folder
            ParentDepth : 4
            Language : English ( United Kingdom )
         4. Click "Add nodes" button
         5. Click "Media library" in top menu
         6. Check the checkbox next to "Files"
         7. Click "Select" button
         8. Validate that the values in the selection boxes are still correct:
            Class : Article, Folder
            Section : Media
            ParentOwner : Self
            ParentGroup : Self
            ParrentClass : Folder
            ParentDepth : 4
            Language : English ( United Kingdom )
      

      In this last step, the values in the select boxes, are not the ones we choosed before.

      Attachments

        Activity

          People

            Unassigned Unassigned
            pcardiga pcardiga
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: