How to block public from accessing /api/docs route #4035

Closed
opened 2026-02-05 08:04:23 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @shirogutama on GitHub (Aug 30, 2023).

Attempted Debugging

  • I have read the debugging page

Searched GitHub Issues

  • I have searched GitHub for the issue.

Describe the Scenario

Currently, the API docs can be accessed by public users. And I want this only accessible to a specific role(s). How to do this?

Exact BookStack Version

BookStack v23.06-dev

Log Content

No response

PHP Version

8.2

Hosting Environment

Ubuntu Local machine

Originally created by @shirogutama on GitHub (Aug 30, 2023). ### Attempted Debugging - [X] I have read the debugging page ### Searched GitHub Issues - [X] I have searched GitHub for the issue. ### Describe the Scenario Currently, the API docs can be accessed by public users. And I want this only accessible to a specific role(s). How to do this? ### Exact BookStack Version BookStack v23.06-dev ### Log Content _No response_ ### PHP Version 8.2 ### Hosting Environment Ubuntu Local machine
OVERLORD added the 🐕 Support label 2026-02-05 08:04:23 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#4035