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

State/Assign with State limitation with more than one existing object states group

    XMLWordPrintable

Details

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • None
    • None

    Description

      Preconditions:

      Two object states groups: Lock (Locked, Not locked) and Colours (red, green, blue).
      Policies of the User:

      • State/Assign with Limitations State: Lock:Locked
      • User/Login
      • User/Password
      • Content/Read
      • Content/Versionread
      • Content/ Reverserelatedlist
      Steps:

      1. As an Admin set Content A as Lock:Not locked and Content B as Lock:Locked
      2. Log in as a User from preconditions
      3. Go to the Content A view - Details Tab - State details - both dropdown lists are disabled.
      4. Go to the Content B view - Details Tab - State details - both dropdown lists are active.

      Expected result:

      Lock list should be active and Colour list - disabled.

      Hint:

      For now we use hasAccess() method which does not check limitations. We can not use canUser() check, because issue with 'targets'

      Attachments

        Activity

          People

            Unassigned Unassigned
            barbara.grajczyk@ez.no Barbara Grajczyk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: