Details
Description
Hi,
I have seen a small bug in block_admin. The count of pending orders is shown for every user. The user can't manage orders, but can see pending order count.
The patch attached shows the count of pending orders when an user has_capability('enrol/authorize:managepayments', $context).
Thanks...