Clean install of v12.4
Logged in as Admin
Set File Galleries to Store in database
Global permission "Can view file galleries (tiki_p_view_file_gallery) set to Anonymous and "Can download files (tiki_p_download_files)" set to Anonymous (this was the default setting)
Goto File Galleries-->List Galleries List Gallery view
Rollover file names produces popup thumbnail, also in Browse Images view preview images display
Uploading new file displays thumbnail and preview image OK
From Fille Galleries goto Permissions, then edit global permissions and change "Can download files (tiki_p_download_files)" from Anonymous to Registered
Go back to File Galleries, refresh the page and most, if not all, thumbnails turn into question marks as well as the preview images in the Browse Images view. Clicking on the filename downloads the correct file and using the Action Display loads the file in a new page, which is what was expected. (This has the same results with a Registered user and with setting the single object permission)
Resetting "Can download files (tiki_p_download_files)" back to Anonymous brings back the images.
Conclusion: if "Can download files (tiki_p_download_files)" is set to anything other then Anonymous the file gallery will not display thumbnail or preview images for any user.
I had expected to be able to use the "Can download files (tiki_p_download_files)" permission to limit who could download files, not who could see them.
From what i can tell here the problem arose because the Display and Download menu options weren't checking the download_file permission properly (Download was, but Display wasn't).
Have fixed that in 14.x in r56103 - hope that helps
I'm guessing this issue has been fixed and am closing this report. Please re-open if any issues.
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.
Unable to connect to show.tikiwiki.org. Please let us know of the problem so that we can do something about it. Thanks.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |