Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Non-personal book owners do not see book selection widget when editing someone else's node.
This results in a book switching from personal to non-personal when saving any node in the personal book.
Create a personal book as a "book manager" user.
Edit any page in the book as another user.
Save the page and notice that the book is no longer a personal book.
Comment | File | Size | Author |
---|---|---|---|
#1 | book_manager-1004492.patch | 2.31 KB | jgraham |
Comments
Comment #1
jgraham CreditAttribution: jgraham commentedAttaching a patch for reference here.
The attached patch also addresses some potential additional edge cases. Basically if the book is a personal book and the editing user does not have personal book permissions (eg. somebody with 'administer nodes' and no other permissions) we need to preserve the personal book status or we risk locking the book owner out of their personal book.
Comment #2
jgraham CreditAttribution: jgraham commentedComment #3
marcp CreditAttribution: marcp commentedThis is working the way I'd expect it to -- the personal book status gets maintained now when a user other than the personal book owner saves a page.