Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Admin: Hide the "Add" button / limit access

admin

Started by ontime 7 years ago · 0 replies · 599 views
7 years ago

I would like to hide the button "+ Add" of the top right of the admin panel that allows the creation of new pages, modular and folders.

image|296x92

Is it possible to hide it or limit its access to super admins ?

With something like ?

YAML
          security:
            admin:
              super: true

The documentation explains how to add buttons to the admin panel, thus it seems plausible that the same yaml file could also modify the said button, but I did not find any information on the subject.

Suggested topics

Topic Participants Replies Views Activity
General · by jeremycherfas, 4 days ago
3 92 8 minutes ago
General · by Old Man Umby, 2 days ago
1 60 2 days ago
General · by Sebastian, 4 days ago
1 81 4 days ago
General · by Andy Miller, 2 weeks ago
0 216 2 weeks ago
General · by ready-4-IT, 6 months ago
1 716 3 weeks ago