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

CRITICAL language permissions bug (if languages >= 4)

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • None
    • 3.8.0
    • None
    • Version: 3.8.0
      PHP Version: 4.4.0
      Webserver: 2.0.54
      Database: MySQL 4.1.13

    Description

      Starting from a fresh installation of ezPublish 3.8.0, create a new site with only the primary language (English American).

      1 - Login as admin

      2 - Add 3 other languages, for example:

          French
          German
          Italian
      

      3 - Create a role called "Test" with the following policies:

          Module   Function   Limitation
          user     login      No limitations
          content  read       No limitations
          content  edit       Language( Italian )
      

      It's important that the Language is the last and the only that you have added at the step 2.

      4 - Create a user called "test_it" and assign to it the "Test" role, just created at the previous step;

      5 - Login as the test_it user.

      Now, this user cannot edit anything (also if you create others new objects like articles or folders as admin user) because don't have any language available to edit objects in the dropdown item near the "edit" button.

      Instead we expect that the system allow this user to create the Italian translation.

      Now

      6 - login as admin and:

      7 - Add another language, for example:

          Swedish
      

      8 - Create a role called "Test 2" with the following policies:

          Module   Function   Limitation
          user     login      No limitations
          content  read       No limitations
          content  edit       Language( English )
          It's important that the Language is the primary language.
      

      9 - Create a user called "test_en" and assign to it the "Test 2" role;

      10 - Login as the test_en user.

      11 - Edit in "Another language" option the "ez Publish" folder default object;

      Now the system propose the Swedish language, and you can create a Swedish translation with a user limited to English language.
      If you repeat the 11th step, you can create also the Italian translation.

      This kind of bugs are verified only with languages >= 4.

      Attachments

        Activity

          People

            unknown unknown
            toalex toalex
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: