Loading...
 
Skip to main content

An image Wiki page require perm on "tiki_p_download_files" to be displayed

Status
Closed
Subject
An image Wiki page require perm on "tiki_p_download_files" to be displayed
Version
6.x
Category
  • Error
  • Less than 30-minutes fix
Feature
File Gallery (elFinder or standard UI)
Resolution status
Fixed or Solved
Lastmod by
Ushindi Gedeon
Rating
(0)
Description

Editing a Wiki page i upload an image (Image ) directly from the edit page. The code look like this :

Copy to clipboard
{img fileId="1" thumb="y" alt="" rel="box[g]"}


I have set perm "tiki_p_view_file_gallery" for anonymous.

Unlogged (anonymous) i can't see the picture (tested on several browsers win/mac).
Logged as admin i can see the picture.

I have checked what perm allow the picture to be displayed and found that only when the perm "tiki_p_download_files" is set for anonymous an un logged visitor can see the picture.

Solution

Temporary solution, use perm "tiki_p_download_files" and "tiki_p_view_file_gallery" together.

Proper solution should be to assign the display authorization setting to the correct permission "tiki_p_view_file_gallery".

Workaround
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
3668
Created
Friday 19 November, 2010 08:44:34 UTC
by yoni
LastModif
Tuesday 30 June, 2026 10:06:29 UTC


Show PHP error messages