We have a bunch of editors who, despite being told several times, continue to upload images into a default library by neglecting to change it.
Is there was a way to force users to choose a library before being able to click 'Upload'?
I'm making this request for two reasons:
1) If like now, the editors have no restrictions on that library, they are (and will continue to do so, trust me) going to simply leave it as it is and upload their imagery there. This makes back end housekeeping a pain for our site administrators, something we want to simplify.
2) If editors have restricted permissions and this default library can only be edited, managed etc by administrators only, if they click 'Upload' without changing the library then they receive a rather messy error message (below) and have to repeat the process again as the 'Select an image' box is now, for lack of a better word, dead. (Screenshot attached)
"Telerik.Sitefinity.Libraries.Model.Album, Telerik.Sitefinity.Model was not granted ManageImage in Image for princupals with IDs 94cda633-4cae-6165-87ef-ff0000698116"
Forcing users to select a library instead of having one selected by default would solve this problem of ours.
If this isn't doable, is it instead possible to bounce an error message back to the user instead of an alert popup? Something along the lines of "You do not have permission to upload to this library, please select another".
public class CustomImageService : ImageService
public override ContentItemContext<
> content, string parentId, string contentId, string providerName, string newParentId, string version, bool published, bool checkOut, string workflowOperation)
return base.SaveChildContent(content, parentId, contentId, providerName, newParentId, version, published, checkOut, workflowOperation);