Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Admin: Hide the "Add" button / limit access

admin

Started by ontime 7 years ago · 0 replies · 651 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 lynbor, 3 weeks ago
3 354 3 days ago
General · by lynbor, 1 week ago
7 393 3 days ago
General · by Harry, 3 days ago
0 89 3 days ago
General · by Old Man Umby, 3 weeks ago
2 259 2 weeks ago
General · by jeremycherfas, 3 weeks ago
5 377 2 weeks ago