Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Jun 13, 2022

Conversation

pboguslawski
Copy link
Contributor

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

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

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

Author-Change-Id: IB#1120576
@mahagr mahagr merged commit 9b00cd8 into getgrav:develop Jun 13, 2022
@mahagr
Copy link
Member

mahagr commented Jun 13, 2022

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

mahagr added a commit that referenced this pull request Jun 13, 2022
@pboguslawski pboguslawski deleted the master-IB#1120576 branch July 22, 2022 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants