david-szabo97 / grav-plugin-admin-addon-revisions

An extension for Grav Admin plugin which adds revisions for pages.
MIT License
11 stars 8 forks source link

Access the revisions page without superuser access #8

Closed fedme closed 7 years ago

fedme commented 7 years ago

Hi, is it possible to have the revisions page in the admin panel even if the logged user doesn not have the super user permission?

access:
  admin:
    login: true
    super: true // some of my admin users don't have this

Is there a special permission that allows me to do something like:

access:
  admin:
    login: true
    revisions: true

Thank you very much

fedme commented 7 years ago

Found the solution, just add the following to the user account:

access:
  admin:
    login: true
    revisions: true

It works due to how Grav builds the admin menu