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

Create content permission regression with section limitation

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 4.6.2
    • 4.6.0, 4.6.1
    • OSS
    • Ibexa Open Source

    Description

      Upgrading our website from ibexa/oss 4.5.5 to 4.6.1, we noticed an important regression.

      Editors are not able to create content: the "create content" button is grayed while the permission are granted as follow:

      Content type: Article
      Section: Standard

      While being in the Standard section, the only type that the editor can create (Article) is not available, leading to the button to be grayed.

      If we modify the rule to remove the restriction on the Standard section, the Editors can again create Article.

      We tracked down the problem and could spot the commit that introduced the regression: https://github.com/ibexa/admin-ui/commit/b942418a22dce2c7c4c98e959a814db5ffab579b

      We managed to run ibexa/oss 4.6 with admin-ui set to the above commit and the permission problem exists. Switching to https://github.com/ibexa/admin-ui/commit/69e8a2c677852e690599e70b65de081b1e229f17 (the parent commit): the permission problem is gone.

      The problem is a Section object being assigned to a sectionId property.

      A Pull Request by Yannick Vanhaeren has been created: https://github.com/ibexa/admin-ui/pull/1213.

      See also issue https://github.com/ibexa/admin-ui/issues/1214

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              e8318ba6-e4ae-477c-9116-36c073bd11a3@accounts.ibexa.co Patrick Allaert
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: