Skip to content

https://www.drupal.org/project/page_to_pdf/issues/3425441 - Enforce hiding pdf tasks links on non-pdf content types / anonymous

Andrea Kostakis requested to merge fix-conditional-tasks into 1.0.x

3425441 This adds an unset to remove pdf links tasks that are already set by default for non-pdf content types or for anonymous users (making sure the tasks are not added on the live preview link when access publicly (for example by browserless).

Before fix

Non-pdf content type node form: image

Anonymous on /pdf: (ignore the other blocks that shouldn't be there - still not setup) image

With fix

Non-pdf content type node form: image

Anonymous on /pdf: image

Edited by Andrea Kostakis

Merge request reports

Loading