getgrav / getgrav/grav-plugin-admin

Menu Modal Toolbar not showing without admin.super permission

Open
#2,408 9 comments 0 reactions 0 assignees View on GitHub
cannot recreate more info needed
Dominant language
PHP
Stars
377
Forks
225
Avg merge
11h 51m
Merged PRs (30d)
4

Description

I found an issue regarding the toolbar in the menu modal in pages, which is only showing when the user has `admin.super` permission.

_Currently, I only get this modal without the toolbar with let’s say `user1`:_
![Menu Modal without Toolbar](https://github.com/getgrav/grav-plugin-admin/assets/73113302/2d82bcdf-5ae2-429b-8d22-0775dd83cf4f)

_But with my `admin` user, I get this modal, with the toolbar:_
![Menu Modal with Toolbar](https://github.com/getgrav/grav-plugin-admin/assets/73113302/4f9daa8f-00d6-4051-9512-2d8996ea509f)

I tested this with a fresh Grav + Admin installation without any configuration.

---

## Accounts
Here are my account configs (access only)

### `admin`
```
access:
site:
login: true
admin:
login: true
super: true
```

### `user1`
```
access:
admin:
login: true
configuration:
pages: true
pages: true
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.