Loading...
 
Skip to main content

Features / Usability


Restrict or log printing

Hello everyone,

Is there any way to prevent certain user groups from printing Wiki pages (I'm actually interested in stopping them from saving to .pdf)? As far as I can see, if a user has view permission for a page, he or she can print it (and therefore save it to .pdf)...

Or at least can the print action be logged? I can't find that in Action Log feature settings either...

I'm using the latest 24.x version, but I could easily upgrade if needed.

Thank you.

If you remove the permission tiki_p_print from Anonymous and Registered groups, and then assign it only to the groups you want to be able to print or export PDFs (which uses tiki-print.php) then that should work, but you can't really stop people from selecting File -> Print on the browsers menus and printing what they can see, as far as i know.

Not tried it myself but tiki_p_print should work.


If you remove the permission tiki_p_print from Anonymous and Registered groups, and then assign it only to the groups you want to be able to print or export PDFs (which uses tiki-print.php) then that should work, but you can't really stop people from selecting File -> Print on the browsers menus and printing what they can see, as far as i know.

Not tried it myself but tiki_p_print should work.

The problem is, I can't find any tiki_p_print permission (I'm currently using Tiki 24.6)...

Coo, you're right, sorry - i was checking in the current code (soon to be 27.x), looks like it only arrived recentlyQuestion.

It's not even in Tiki 26, and looks like a fairly big change so not that easy to copy it into 24.x but i guess could be done for the next 26 release at least, if enough people need it - i can't think of another way to do it properly currently - you could hide the print/export links with css or javascript, and then add a custom module with the buttons in but only showing to the groups you want, but that would be fairly simple to bypass...