CarloGiuliano / fme-alfresco-extensions

Automatically exported from code.google.com/p/fme-alfresco-extensions
0 stars 0 forks source link

Gallery Plus Dashlet configured filter path should default to /sites/{sitename}, rather than /sites #25

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I am support lead for a campus-wide service based on Alfresco Enterprise 3.4.8 
called Research Hub. Research Hub provides its users the option to add the 
Gallery Plus Dashlet to site dashboards. We have a very disparate set of users; 
most sites are of little or no interest to the majority of other users. 
However, many site creators set their site's visibility to public, meaning that 
every user of the system can access the site.

Given this arrangement, the default settings of the Gallery Plus dashlet put us 
in an uncomfortable position. Because the default filter path is set to /, all 
folders with the Gallery Plus aspect across the entire service appear in new 
Gallery Plus dashlets or in existing Gallery Plus dashlets set to the default 
settings. In other words, once the site manager of a public site has added the 
Gallery Plus aspect to a folder, the images in that folder appear by default in 
the gallery dashlets of every other user. This opens up the possibility of 
"visual spamming," which I fear will cause upset among users and, at the very 
least, require additional support time to explain and rectify case by case. 

If the dashlet's default filter path were set to /sites/{sitename}, users would 
only see their own images unless they purposely changed the filter settings to 
view images from other sites.

What steps will reproduce the problem?
1. Create a site. Set site visibility to "public."
2. Create a folder inside the document library of the new site. Add the Gallery 
Plus aspect to the folder.
3. Upload any number of images to that folder.
4. In a different site, add the Gallery Plus dashlet to the site dashboard. Do 
not make changes to the configuration settings.

What is the expected output? In the Gallery Plus dashlet, you will see the 
images added during step 3, above, plus any other images stored in folders with 
the Gallery Plus aspect applied in other public sites on your system.

What would you wish to see instead? I would like, by default, to only see 
images from my site, unless I purposely adjust the configuration settings.

What version of the product are you using? On what operating system?

Alfresco Enterprise 3.4.8, running on Linux. Viewed on Mac OS X 10.6.8 in 
Firefox 13. 

Please provide any additional information below.
This is not so much a bug as an enhancement request.

Original issue reported on code.google.com by rjaffe2...@gmail.com on 9 Jun 2012 at 9:38

GoogleCodeExporter commented 8 years ago
Great to hear the gallery extension is broadly used at Berkeley. I think by 
default it even displays the whole repository and it makes a lot of sense to 
restrict it to the current site when used as a site dashlet. I'll look into 
changing that.

Original comment by Florian....@gmail.com on 11 Jun 2012 at 8:45

GoogleCodeExporter commented 8 years ago
I uploaded a new version 0.4.3 which fixes this issue. By default only images 
from the current site are shown. It is still possible for the user to select 
/Sites or /Sites/someOtherSite/ and see public images. 

The gallery folders that a user can select are also limited to the current site 
now.

Original comment by Florian....@gmail.com on 14 Jun 2012 at 9:37