1. Set permissions.check.guest.enabled=false in portal-ext.properties
2. Start bundle
3. Create a new user and grant the user with site membership of current site
3. Add a DM portlet to the page of current site
4. Login as the new user and access the page
Expected: no crashes
Actual: DM portlet crashes.
If the DM portlet is configured to display globally, then
LPS-79635 will be bypassed and images in blog can be viewed again.
reproduced on master: 6fca5bce43e47606a6e5ec579aac9c9df30a1174