Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Users are not shown any templates #5000

Closed
Tealk opened this issue May 12, 2024 · 7 comments
Closed

Users are not shown any templates #5000

Tealk opened this issue May 12, 2024 · 7 comments
Labels

Comments

@Tealk
Copy link

Tealk commented May 12, 2024

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 Tealk added the 🐛 Bug label May 12, 2024
@ssddanbrown
Copy link
Member

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?

@Tealk
Copy link
Author

Tealk commented May 12, 2024

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.

@ssddanbrown
Copy link
Member

@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.

@Tealk
Copy link
Author

Tealk commented May 13, 2024

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?

@ssddanbrown
Copy link
Member

@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...)

@Tealk
Copy link
Author

Tealk commented May 13, 2024

I think that would be a compromise.

@ssddanbrown
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants