You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Due to the limitation that OIDC tokens cannot be used yet to authenticate to the API (will submit a separate feature request), we are trying to integrate content of our Bookstack environment in an web application via another way.
In this case we created a "service-user" with API token, that can fetch content via the API. However, we are having one challenge: determine the content a certain role has access to.
However, I would like to request an endpoint, where I can, based on role_id, get a list of all content permissions. Such that when requesting a list of shelves, we can filter out the shelves a role is entitled to to see for instance.
Describe the benefits this would bring to existing BookStack users
Easier to determine if user is allowed to see specific list of content based on role.
Can the goal of this request already be achieved via other means?
Yes, by looping through requested list of content and request content-permission for each specific shelf/book/page.
Have you searched for an existing open/closed issue?
I have searched for existing issues and none cover my fundamental request
How long have you been using BookStack?
1 to 5 years
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the feature you'd like
Due to the limitation that OIDC tokens cannot be used yet to authenticate to the API (will submit a separate feature request), we are trying to integrate content of our Bookstack environment in an web application via another way.
In this case we created a "service-user" with API token, that can fetch content via the API. However, we are having one challenge: determine the content a certain role has access to.
Currently the only endpoint provided is the: https://bookstack.bassopaolo.com/api/docs#content-permissions-read
For which we always need to provide a specific shelf/book or pageid.
However, I would like to request an endpoint, where I can, based on role_id, get a list of all content permissions. Such that when requesting a list of shelves, we can filter out the shelves a role is entitled to to see for instance.
Describe the benefits this would bring to existing BookStack users
Easier to determine if user is allowed to see specific list of content based on role.
Can the goal of this request already be achieved via other means?
Yes, by looping through requested list of content and request content-permission for each specific shelf/book/page.
Have you searched for an existing open/closed issue?
How long have you been using BookStack?
1 to 5 years
Additional context
No response
The text was updated successfully, but these errors were encountered: