Restrict PDF export to certain user groups. #1321

Closed
opened 2026-02-05 00:36:38 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @over-soul on GitHub (Aug 28, 2019).

Describe the feature you'd like
Ability to restrict PDF export feature to certain user groups as it is resource intensive.

Describe the benefits this feature would bring to BookStack users
Would allow for better control of resources and also would enable better control of content export as not everyone should necessarily be able to export content.

Additional context
N/A

Originally created by @over-soul on GitHub (Aug 28, 2019). **Describe the feature you'd like** Ability to restrict PDF export feature to certain user groups as it is resource intensive. **Describe the benefits this feature would bring to BookStack users** Would allow for better control of resources and also would enable better control of content export as not everyone should necessarily be able to export content. **Additional context** N/A
OVERLORD added the 🔨 Feature Request:cat2:🐈 Possible duplicate labels 2026-02-05 00:36:38 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Sep 2, 2019):

Thanks for the request @over-soul.

The issue #1251 is open to discuss the idea of export permissions. I don't think I'd look to add UI options or controls to hide specific export options at this time since that's getting rather granular.

If you did want to simply hide the PDF export option you could add the following to the "Custom Head HTML" setting although I understand this would not achieve the role-level visibility you desire:

<style>
	.dropdown-container a[href$="/export/pdf"] {
		display: none;
	}
</style>
@ssddanbrown commented on GitHub (Sep 2, 2019): Thanks for the request @over-soul. The issue #1251 is open to discuss the idea of export permissions. I don't think I'd look to add UI options or controls to hide specific export options at this time since that's getting rather granular. If you did want to simply hide the PDF export option you could add the following to the "Custom Head HTML" setting although I understand this would not achieve the role-level visibility you desire: ```html <style> .dropdown-container a[href$="/export/pdf"] { display: none; } </style> ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#1321