Roles to see a book only when you're not connected #547

Closed
opened 2026-02-04 20:56:29 +03:00 by OVERLORD · 5 comments
Owner

Originally created by @PurpleBabar on GitHub (Jan 12, 2018).

Hi all,

Thanks for bookstack, i love the tool :) I was just wondering about the roles that are defined, is ther any way to make a chapter or a book public without authorizing people to acces other books ? at the moment when i enable public in the system admin panel, everybody can see every docs, or do i need to manually and explicitely set righst on every books ?

Thx for your answers :)

Originally created by @PurpleBabar on GitHub (Jan 12, 2018). Hi all, Thanks for bookstack, i love the tool :) I was just wondering about the roles that are defined, is ther any way to make a chapter or a book public without authorizing people to acces other books ? at the moment when i enable public in the system admin panel, everybody can see every docs, or do i need to manually and explicitely set righst on every books ? Thx for your answers :)
OVERLORD added the Question label 2026-02-04 20:56:29 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Jan 12, 2018):

Hi @PurpleBabar, Thanks.

There is a way you can do this:

  • In settings turn on 'Allow public viewing'.
  • In the roles area, Edit the 'public' role and remove all permissions.
  • Go to your 'public' book. In the 'more' menu at the top right select permissions. In here enable custom permissions and assign the 'view' permission to the 'public' role.

Book permissions will cascade to child items. Annoyingly you will also have to specify the permissions for all other roles if you still want to allow them to view/edit/delete etc...
I'm aware of this being a pain and I want to update it in the future so you can choose to only override default permissions for select roles but for now this should achieve what you want.

@ssddanbrown commented on GitHub (Jan 12, 2018): Hi @PurpleBabar, Thanks. There is a way you can do this: - In settings turn on 'Allow public viewing'. - In the roles area, Edit the 'public' role and remove all permissions. - Go to your 'public' book. In the 'more' menu at the top right select permissions. In here enable custom permissions and assign the 'view' permission to the 'public' role. Book permissions will cascade to child items. Annoyingly you will also have to specify the permissions for all other roles if you still want to allow them to view/edit/delete etc... I'm aware of this being a pain and I want to update it in the future so you can choose to only override default permissions for select roles but for now this should achieve what you want.
Author
Owner

@PurpleBabar commented on GitHub (Jan 14, 2018):

Thanks a lot :D It will do the trick ;)

@PurpleBabar commented on GitHub (Jan 14, 2018): Thanks a lot :D It will do the trick ;)
Author
Owner

@Abijeet commented on GitHub (Jan 14, 2018):

@PurpleBabar - If this solves your problem, can you please close the issue?

@Abijeet commented on GitHub (Jan 14, 2018): @PurpleBabar - If this solves your problem, can you please close the issue?
Author
Owner

@PurpleBabar commented on GitHub (Jan 14, 2018):

I haven't teste it yet, but i'll close the issue as soon as i'll do it :)

@PurpleBabar commented on GitHub (Jan 14, 2018): I haven't teste it yet, but i'll close the issue as soon as i'll do it :)
Author
Owner

@ssddanbrown commented on GitHub (May 27, 2018):

Since the last comment on this issue is relatively old I'm going to close this. If the issue remains and is something you still require to be fixed please comment and this can be reopened if required.

@ssddanbrown commented on GitHub (May 27, 2018): Since the last comment on this issue is relatively old I'm going to close this. If the issue remains and is something you still require to be fixed please comment and this can be reopened if required.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#547