Uploaded image for project: 'Ibexa IBX'
  1. Ibexa IBX
  2. IBX-2942

Edit from Content Tree menu level does not respect language limitation

Details

    Description

      Edit after checking issue:

      Backend is required here before frontend can fix anything.

      Currently backend doesn't provide necessary information - in endpoint `http://localhost:8000/admin/module/universal-discovery/locations` (which is used both in UDW and content tree) full data is only provided for create, edit is missing `restrictedContentTypeIds` and `restrictedLanguageCodes` properties.

       

      Edit from Content Tree menu level does not respect language limitation.

      Steps:

      1. Create user with policies like in IBX-2825 (also attached - access to create and edit in French).
      2. Follow steps in mentioned ticket and as admin create English article with French translation.
      3. Log in as user from step 1.
      4. From Content Tree context menu try to edit the article from step 2.

      Actual result: On the right menu with language selection opens. It's possible to choose English and create draft.
      Expected result: As in case of main menu Edit button, user should edit French draft(s) only.

      Designs

        Attachments

          1. IBX-2942 0_1.png
            71 kB
            Michał Szołtysek
          2. IBX-2942 0_2.png
            43 kB
            Michał Szołtysek
          3. IBX-2942 1.png
            79 kB
            Michał Szołtysek
          4. IBX-2942 2.png
            91 kB
            Michał Szołtysek
          5. IBX-2942 3.png
            90 kB
            Michał Szołtysek

          Activity

            People

              Unassigned Unassigned
              michal.szoltysek@ibexa.co Michał Szołtysek
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: