Opened 12 years ago
Last modified 12 years ago
#1253 new defect
editor cant upload org logo
Reported by: | landry | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | v2.10.0 RC0 |
Component: | General | Version: | v2.8.0 |
Keywords: | Cc: |
Description
As of now, when one wants to set an organisation logo (as described on http://trac.osgeo.org/geonetwork/wiki/proposals/OrganisationLogo), he needs to be an administrator in order to use the logo.add / logo.delete services.
So a user eith an 'Editor' profile can only link to an existing logo, already uploaded to the catalog by an Administrator. But he sees the upload logo buttons...
- Either any user with write access (so, Editor) should be able to use logo.add/logo.delete
- Or the showLogoSelectionPanel() shouldnt show the upload controls to an editor who doesnt have Administrator profile
Dont know if a new service should be created for that - reusing the harverster logomanager was okay for that, it just needs to be available to editors imo.
Change History (2)
comment:1 by , 12 years ago
comment:2 by , 12 years ago
Given that the logo selection panel is populated from xml.harvesting.info?type=icons, we'd need a new service for logos if we use the logoUrl.
Note that the 'browse' button has no width, and the label is outside the button, leading to a broken display of the fileuploadfield extjs object.
Another note : the logo selection panel ctor uses catalogue.services.harvesterLogoUrl mapping to datadir/data/resources/images/harvesting/ - while imo it should use logoUrl to better separate org logos from harverster logos.