Details
-
Bug
-
Resolution: Fixed
-
High
-
4.2.0, 4.1.5, 3.3.24
-
None
-
None
Description
Limitations on Language that is not the default one for Content/Create policy will end up in
The User does not have the 'create' 'content' permission with: parentLocationId 'X', sectionId 'Y'
when creating content on the fly from UDW.
Steps to reproduce
1. Clean installation of Ibexa DXP v3.3+
2. Create a new User Group called Editors FR and a new user in this group Editor FR.
3. Add a new Language French fre-FR
4. Create a new Role Editors FR with policies:
Module | Function | Limitations |
---|---|---|
User | All functions | None |
Content | Read | None |
Content | Create |
|
Content | Versionread | None |
5. Assing this role to Editors FR
6. Log in as Editor FR and start a draft of a Landing Page.
7. Add embed block to the Landing Page, and when choosing Content to embed inside UDW click on "Create +"
8. Select any Content Type and click "Create"
Result:
The User does not have the 'create' 'content' permission with: parentLocationId 'X', sectionId 'Y'
Expected Result:
Content is created as expected
Additional notes:
The issue occurs because UDW is using eng-GB language code as a default language for the Content created on the fly. Where there is more than one language available and set in the content/create limitation, the user can select it manually from the dropdown and continue without exception being thrown.