Affects Version/s: 7.3.10 DXP GA1, 7.3.X, Master
Backported to Branch:Committed
Git Pull Request:
QA Test Name:
I've created a sample RoleContributor:
The idea behind that RoleContributor was to dynamically add or remove a roleId based on the context.
1/ Create a Role with the Key "IP"
2/ Deploy a module with that component
3/ Create a site with both a public and a private content page
4/ Upload two documents to that site: the first one should be viewable with the "IP" Role while the second should be viewable with the built-in "Guest" Role.
5/ Create a dynamic collection that selects all the documents of the site.
6/ Create a manual collection of documents and pick the two documents.
7/ On the site's public page, put:
a/ A Collection display with the dynamic collection
b/ A Collection display with the manual collection
c/ An asset publisher with the dynamic collection
d/ An asset publisher with the manual collection
e/ A media gallery widget
The 5 widgets on the page display the 2 documents.
b, d and e display both documents.
But a and c do not display the IP role restricted document.