Skip to content
Grav 2.0 is officially stable. Read the announcement →
General

Admin: Hide the "Add" button / limit access

admin

Started by ontime 7 years ago · 0 replies · 559 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 jean-louis67, 3 weeks ago
2 315 3 weeks ago
General · by Andy Miller, 4 weeks ago
0 312 4 weeks ago
General · by Veehem, 4 weeks ago
0 266 4 weeks ago
General · by milkboy, 4 weeks ago
0 270 4 weeks ago
General · by ian russell, 1 month ago
2 338 1 month ago