Loading...
 
Skip to main content

PDF do not work when exporting restricted pages

Status
Closed
Subject
PDF do not work when exporting restricted pages
Version
14.x
14.x Regression
Category
  • Release Blocker
Feature
PDF
Token Access
Resolution status
Confirmed
Submitted by
WolfgangA
Volunteered to solve
wolfganga
Lastmod by
Xavier de Pedro
Rating
(0)
Description

When a page is restricted by permissions, this page cannot be exported to pdf using the pdf icon.
The result is a pdf that contains the message "You do not have the permission to view that page....".
The reason for that is that the pdf export contains NO mechanism to pass the authentication of the logged-in user to the pdf tool. So the pdf tool (i.e. wkhtml2pdf) calls the page in question as an un-authenticated user.

Update:
Main issue fixed. Restricted pages require token authentication enabled to be exported to pdf.
Feature: "auth_token_access".

Note: If the page acts as a template for tracker input - access is still debied. This might be an issue with the "auth_token_access" feature itself and should be a new bug report bc it might effect other areas as well.


Importance
9
Easy to solve?
4
Priority
36
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
5534
Created
Wednesday 21 January, 2015 11:18:45 UTC
by WolfgangA
LastModif
Friday 23 January, 2015 11:59:09 UTC


Show PHP error messages