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

Behavior of Locations tab based on User permissions

    Details

      Description

      Scenarios

      View restriction on a content sub-tree

      Given that I belong to the ‘Editor’ user group
      And I am accessing a content item with 2 locations (located under sub-tree 'ABC' and sub-tree 'XYZ')
      And the ‘Editor’ user group has the view permissions for Sub-tree 'ABC'
      And the ‘Editor’ user group does not have the view permissions for Sub-tree 'XYZ'
       
      When I log into EZ application
      And navigate to the Locations tab of a content item
       
      Then the 'Content locations’ table will list only the location path with view access, for e.g., only sub-tree 'ABC' will be listed in the table and NOT 'XYZ'
      

      Manage locations policy not assigned

      Given that I belong to the ‘Editor’ user group
      And the ‘Editor’ user group does not have the policy ‘Content/Manage Locations’ assigned to it
       
      When I log into EZ application
      And navigate to the Location’s tab of a content item
       
      Then the 'Content locations’ table will list the locations
      And the following points of managing a location are disabled
          Checkbox for all locations
          Main Radio button
          Delete button
          Add location button
      
      

      Manage locations and Hide policy not assigned

      Given that I belong to the ‘Editor’ user group
      And the ‘Editor’ user group does not have the policy  ‘Content/Manage Locations’ assigned to it
      And the  ‘Editor’ user group does not have the policy ‘Content/Hide’ assigned to it
       
      When I log into EZ application
      And navigate to the Location’s tab of a content item
       
      Then the 'Content locations’ table will list the locations
      And the points of interaction in this table are disabled
          Checkbox for all locations
          Main Radio button
          Show/Hide switcher
          Delete button
          Add location button
      

      Hide policy not assigned

      Given that I belong to the ‘Editor’ user group
      And the ‘Editor’ user group does not have the policy  ‘Content/Hide’ assigned to it
       
      When I log into EZ application
      And navigate to the Location’s tab of a content item
       
      Then the 'Content locations’ table will list the locations
      And the switcher to show/hide content item is disabled
      

        Issue Links

          Activity

          Hide
          André Rømcke added a comment -

          Supriya Bhargava Clear, we'll adjust the API in 7.0 to filter out locations user does not have access to which will give you this behavior. EZP-27608

          Show
          André Rømcke added a comment - Supriya Bhargava Clear, we'll adjust the API in 7.0 to filter out locations user does not have access to which will give you this behavior. EZP-27608
          Hide
          Sylvain Guittard added a comment -

          Moved to InputQ since there is no blocker anymore.

          Show
          Sylvain Guittard added a comment - Moved to InputQ since there is no blocker anymore.
          Hide
          Sylvain Guittard added a comment -

          Sławomir Uchto: This story requires backend work. Can we move this story to Ready for Dev?

          Show
          Sylvain Guittard added a comment - Sławomir Uchto : This story requires backend work. Can we move this story to Ready for Dev ?

            People

            • Assignee:
              Supriya Bhargava
              Reporter:
              Supriya Bhargava
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: