Book module enhancements: better permissions

Created on 27 January 2011, almost 14 years ago
Updated 4 September 2024, 3 months ago

My current project requires better permissions for creating/updating book outlines. The attached patch is the proposal for Drupal8 Book module. The included features are:

- Permission to manage/reorder __only own__ outline (per role)
- Permission to add child pages to __only own__ books
- New "Reorder" tab on the node page, if the user has access to reorder (own) outlines
- "Reorder an entire book" links to current book outline (that was always confusing for me)

If the user is restricted to add child pages only to own books, the outline form lists only the user's books. Users with "administer book outlines / add content to books" see all books, as usuall. The reason for patching Book module is simple -- it was simpler to do such patch for D7 that porting something from D6 or writing something like Book from scratch. The patch needs work, however it works nice (I use patched Book module in sites/all/modules).

✨ Feature request
Status

Needs work

Version

2.0

Component
BookΒ  β†’

Last updated 7 days ago

  • Maintained by
  • πŸ‡ΊπŸ‡ΈUnited States @pwolanin
Created by

πŸ‡΅πŸ‡±Poland mariusz.slonina

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024