Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
In content_lock_node_view(), there is a check pending locks for the current user viewing the node via content_lock_warn_pending_locks(). This should only be run if the user has access to lock content.
Comment | File | Size | Author |
---|---|---|---|
#1 | content_lock-pending-warn-if-access-2182877-1.patch | 481 bytes | recrit |
Comments
Comment #1
recrit CreditAttribution: recrit commentedthe attached patch add an access check before calling content_lock_warn_pending_locks.
Comment #2
recrit CreditAttribution: recrit commentedComment #3
pandaski CreditAttribution: pandaski at XiNG Digital commentedComment #4
pandaski CreditAttribution: pandaski at XiNG Digital commented