BookStack icon indicating copy to clipboard operation
BookStack copied to clipboard

Users are not shown any templates

Open Tealk opened this issue 1 year ago • 2 comments

Describe the Bug

I have specified a template for a book, but when users with editor rights create a new page in the book, they are not offered the template.

Steps to Reproduce

  1. create book
  2. create template
  3. insert template in book

Expected Behaviour

That users are shown the template when they create a new page so that they can fill it in.

Screenshots or Additional Context

No response

Browser Details

Firefox

Exact BookStack Version

v24.05

Tealk avatar May 12 '24 18:05 Tealk

Hi @Tealk,

  • Do users have view access to the original template page (if they go to it directly via link)?
  • Do users see the template in the templates part of the sidebar toolbox when editing/creating a page?
  • Is this the same if you create a new page within a book, and within a chapter of that book?

ssddanbrown avatar May 12 '24 20:05 ssddanbrown

Do users have view access to the original template page (if they go to it directly via link)?

No, I thought I could hide the templates from the users so they wouldn't be confused by them.

Tealk avatar May 12 '24 20:05 Tealk

@Tealk That'll be the issue then. You can instead add them to a permission limited book, but within a chapter that has view access (or specifically set permissions per-template), which should limit discoverability a little while allowing access to the template.

ssddanbrown avatar May 13 '24 12:05 ssddanbrown

So I could create a book that only the administration can view and edit access, with templates with view access for everyone and then nobody could see the templates on the shelf?

Tealk avatar May 13 '24 12:05 Tealk

@Tealk They'd still be able to see the original template pages via lists or search etc..., but they won't be discoverable by walking down the heirachy (looking into a book/shelf then navigating down etc...)

ssddanbrown avatar May 13 '24 12:05 ssddanbrown

I think that would be a compromise.

Tealk avatar May 13 '24 12:05 Tealk

Alrighty, I'll therefore close this off since the reported behaviour is as expected and as described within the UI.

ssddanbrown avatar May 13 '24 12:05 ssddanbrown