Links to Create a New Page or Add a chapter shouldn't be visible unless permissions granted #350

Closed
opened 2026-02-04 18:57:15 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @bensulli on GitHub (Jun 6, 2017).

For Feature Requests

Desired Feature:

For Bug Reports

  • BookStack Version: Latest from GitHub as of June 5th
  • PHP Version: PHP 7.0.19-1+deb.sury.org~xenial+2
  • MySQL Version: 10.0.29-MariaDB-0ubuntu0.16.04.1
Expected Behavior

When viewing a Chapter, Book or Page as a user without edit permissions, the link to "Create a new page" and "Add a chapter" should not be available.

Clicking them doesn't allow me to do these actions, but they shouldn't be visible if they aren't possible.

Actual Behavior

Create a New Page -or- Add a chapter are visible.
bug

Originally created by @bensulli on GitHub (Jun 6, 2017). ### For Feature Requests Desired Feature: ### For Bug Reports * BookStack Version: Latest from GitHub as of June 5th * PHP Version: PHP 7.0.19-1+deb.sury.org~xenial+2 * MySQL Version: 10.0.29-MariaDB-0ubuntu0.16.04.1 ##### Expected Behavior When viewing a Chapter, Book or Page as a user without edit permissions, the link to "Create a new page" and "Add a chapter" should not be available. Clicking them doesn't allow me to do these actions, but they shouldn't be visible if they aren't possible. ##### Actual Behavior Create a New Page -or- Add a chapter are visible. ![bug](https://cloud.githubusercontent.com/assets/6107886/26804195/fc06f560-49fb-11e7-91b5-9b546e63b29a.jpg)
OVERLORD added the 🐛 Bug label 2026-02-04 18:57:15 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Jul 2, 2017):

@bensulli Thanks for reporting. Will be fixed in the next release (v0.17, Hopefully released today.)

@ssddanbrown commented on GitHub (Jul 2, 2017): @bensulli Thanks for reporting. Will be fixed in the next release (v0.17, Hopefully released today.)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#350