Access Copy Page function for a role that only has view only for 'All' but can create their own. #971

Closed
opened 2026-02-04 23:13:46 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @mark-james on GitHub (Dec 28, 2018).

Describe the bug
If a user only has view access on a book page, the user should still be able to copy that page to a book that they do have create/update access for.

Steps To Reproduce
Steps to reproduce the behavior:

  1. Create a role with Create/Update for own books/pages etc
  2. Add View access to other books to the same role
  3. Login as user with that role
  4. Go to view only book. The 'More' menu on the right hand side is not available.

Expected behavior
For a view only page a user should be able to 'copy' that page to a book provided they have create/update access on at least one book.

Screenshots
Copy Functionality
image

Additional context
Use Case: I have a bunch of pages that are templates. I don't want users to be able to edit them. But I do want them to be able to take a copy and then edit that copy.

Originally created by @mark-james on GitHub (Dec 28, 2018). **Describe the bug** If a user only has view access on a book page, the user should still be able to copy that page to a book that they do have create/update access for. **Steps To Reproduce** Steps to reproduce the behavior: 1. Create a role with Create/Update for own books/pages etc 2. Add View access to other books to the same role 3. Login as user with that role 4. Go to view only book. The 'More' menu on the right hand side is not available. **Expected behavior** For a view only page a user should be able to 'copy' that page to a book provided they have create/update access on at least one book. **Screenshots** Copy Functionality ![image](https://user-images.githubusercontent.com/26987752/50502116-e8564300-0ab0-11e9-8138-4737935c379f.png) **Additional context** Use Case: I have a bunch of pages that are templates. I don't want users to be able to edit them. But I do want them to be able to take a copy and then edit that copy.
OVERLORD added the 🛠️ Enhancement🏭 Back-End labels 2026-02-04 23:13:46 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Dec 28, 2018):

@mark-james Thanks for the suggestion. I can see the use-case for this and can see how this would be useful. I agree this is something that would be ideal to have.

Since you could also copy to chapters the copy option would need to show for users with create access to any chapter or book.

Is a bit different to other permission checks so will have to ensure it's done with performance in mind but should be possible.

@ssddanbrown commented on GitHub (Dec 28, 2018): @mark-james Thanks for the suggestion. I can see the use-case for this and can see how this would be useful. I agree this is something that would be ideal to have. Since you could also copy to chapters the copy option would need to show for users with create access to any chapter or book. Is a bit different to other permission checks so will have to ensure it's done with performance in mind but should be possible.
Author
Owner

@ssddanbrown commented on GitHub (Mar 9, 2019):

Now implemented as of merge in #1202. To be in the next patch release.

@ssddanbrown commented on GitHub (Mar 9, 2019): Now implemented as of merge in #1202. To be in the next patch release.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#971