View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
1675 | RackTables | JavaScript | public | 2016-08-18 07:58 | 2016-08-26 18:51 |
Reporter | tan | Assigned To | andriyanov | ||
Priority | normal | Severity | tweak | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Platform | Linux | OS | Cent OS | OS Version | 6.8 |
Summary | 1675: uploaded image preview is not showing in the browser for a normal user login | ||||
Description | From the Main page select the files tab and after uploading the image files and linked to any object. The image file is not able to preview at browser using normal user login but able to preview using admin login | ||||
Steps To Reproduce | From the Main page select the files tab and after uploading the image files and link to any object. Login with normal user account at browser and click on object you will not be able to preview the image for the object | ||||
Tags | No tags attached. | ||||
I believe this is a configuration issue. Image preview requests are still authorized like every others using the Configuration -> Permissions ACL. You could add the line allow {$page_file} and {$tab_download} to allow anyone downloading any files. you could write something like allow {$page_file} and {$tab_download} and {regular user} and {image file} to allow only the distinct users/files pairs. Of course, you must have the tags 'regular user' and 'image file' in order to make this working. |
|
After adding the above line at Configuration -> Permissions ACL still the issue is not resolved. | |
Could you show the entire contents of your Permissions ACL file? | |
1 allow {$page_file} and {$tab_download} and {regular user} and {image file} 2 allow {$userid_1} or {$tab_default} 3 allow {$username_ana} and {$tab_default} 4 allow {$username_itsupport} and {$tab_default} |
|
That's the case. {regular user} and {image file} is just a sample of how you can constrain this allow only to some specific users or files. If security is not a concern for you, just replace line 2 with the following: allow {$page_file} and {$tab_download} This will allow any user to download any files, including image previews. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2016-08-18 07:58 | tan | New Issue | |
2016-08-18 07:58 | tan | Status | new => assigned |
2016-08-18 07:58 | tan | Assigned To | => andriyanov |
2016-08-18 07:58 | tan | File Added: issue.png | |
2016-08-23 20:12 | andriyanov | Note Added: 0003431 | |
2016-08-23 20:13 | andriyanov | Status | assigned => feedback |
2016-08-25 11:12 | tan | Note Added: 0003435 | |
2016-08-25 11:12 | tan | Status | feedback => assigned |
2016-08-25 14:08 | andriyanov | Note Added: 0003437 | |
2016-08-26 05:42 | tan | Note Added: 0003439 | |
2016-08-26 05:42 | tan | File Added: ACL.jpg | |
2016-08-26 18:50 | andriyanov | Note Added: 0003441 | |
2016-08-26 18:50 | andriyanov | Status | assigned => closed |
2016-08-26 18:50 | andriyanov | Resolution | open => no change required |
2016-08-26 18:51 | andriyanov | Note Edited: 0003441 |