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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

General

Admin: Hide the "Add" button / limit access

admin

Started by ontime 7 years ago · 0 replies · 428 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 Jerry Hunt, 3 days ago
2 70 5 hours ago
General · by pamtbaau, 10 hours ago
1 45 9 hours ago
General · by Andy Miller, 22 hours ago
0 43 22 hours ago
General · by Marcel, 12 months ago
6 341 4 days ago
General · by Duc , 5 days ago
3 35 5 days ago