getgrav / grav-plugin-admin

Grav Admin Plugin
http://getgrav.org
MIT License
355 stars 227 forks source link

Access to Latest Page Updates for users with admin.pages.list privilege #2294

Closed pboguslawski closed 2 years ago

pboguslawski commented 2 years ago

This mod allows users with admin.pages.list privilege to see Latest Page Updates on Dashboard (user can see page list so there is no point in disallowing them to see list of recently updated pages).

It also removes unnecessary and misleading message about dashboard access denied instead of Latest Page Updates area (user still may have access to stats on Dashboard for example; printing such messages should be avoided for cleaner UI also).

Author-Change-Id: IB#1120576

mahagr commented 2 years ago

Looks like that piece of code was not updated / was missed, good catch. :)