Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
7.3.X, Master
Description
Reproduction steps
- Create a new site role "role1"
- Create a new users "user1"
- Grant "user1" Membership to the Liferay site
- Grant "user1" with site role "role1"
- Go to the Liferay site Categories
- Create a new Vocabulary and a new Categoriy in it "cat1"
- Go to People --> Segments, create a new segment:
- "segment1" with the property "Site and Originations Role" equals "role1"
- Got to Site Builder --> Collections
- Create a dynamic collection
- Add a personalised variant to this collection using segment1
- Set a Filter for this variant: Contains Category = "cat1"
- Create a web content "content0" without any category set
- Create a web content "content1" with "cat1"
- Create a new widget page and add an Asset Publisher to it
- Configure the Asset Publisher and select the new collection to be displayed
- Impersonate "test1" user
- Check that the Asset Publisher on the widget page displays content1
- With the Admin user remove the site role "role' from "test1" user
- Impersonate "test1" user
- Check that the Asset Publisher on the widget page displays
Expected behaviour: Both content0 and content1 are displayed
Actual behaviour: Only content1 is displayed