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

CRITICAL language permissions bug (if languages >= 4)

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Medium Medium
    • Resolution: Fixed
    • Affects Version/s: 3.8.0
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      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.

        Activity

        Hide
        Dmitry Lakhtyuk added a comment -

        fixed in 3.8.1 (stable/3.8) rev. 16279
        trunk 3.9.0(alpha1) rev. 16280

        Show
        Dmitry Lakhtyuk added a comment - fixed in 3.8.1 (stable/3.8) rev. 16279 trunk 3.9.0(alpha1) rev. 16280
        Hide
        ezrobot added a comment -

        This issue has been automatically closed due to the lack of activity over a long period of time. It is very likely that it is obsolete, but if you think it is still valid, do not hesitate to reopen it and mention why.

        Show
        ezrobot added a comment - This issue has been automatically closed due to the lack of activity over a long period of time. It is very likely that it is obsolete, but if you think it is still valid, do not hesitate to reopen it and mention why.

          People

          • Assignee:
            unknown
            Reporter:
            Alessandro Sturniolo
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: