getgrav / getgrav/grav-plugin-admin

ISSUE/BUG: Accounts without “SUPER USER” cannot duplicate pages

Open
#2,413 6 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

Hello,
I’ve already submitted this issue to discord, and [Grav Forum](https://discourse.getgrav.org/t/issue-bug-accounts-without-super-user-cannot-duplicate-pages/25406).

**Issue description:**
When I set the role “Super User” to Unset or Denied (because I don’t want my regular page editors to access configs and such. The sub-menu when clicking 3 dots on any page or module in pages disappears (see images), therefore, accounts that are just going to be used to modify and create pages, cannot easily duplicate others. All other permissions have been allowed. Just not SUPER USER. I’m unsure if this is supposed to happen, but is seems like a bug and not a feature to me.
image
![image](https://github.com/getgrav/grav-plugin-admin/assets/91286763/af99ce7c-878a-425d-8864-5fb2a605c6cf)
![image](https://github.com/getgrav/grav-plugin-admin/assets/91286763/05bbad94-a133-4084-a63e-7b8e098fabe4)

**Steps to recreate issue:**
1. Create a new account
2. Give the account all permissions and set only ‘super user’ to Not set/Denied
3. Login into the new account’s admin panel.
4. The option is no longer available.

**Versions:**
- Grav - 1.7.46 (currently newest)
- Admin - 1.10.46 (currently newest) - only modification was a custom theme. The issue persists on the default one as well.

I’d like help as soon as possible please. This issue has been bothering be for a while and I’ve tried to resolve it in discord with my submissions being ignored (Ricardo replied once.) I’m not blaming anyone I’m just desperate for help. Any suggestions???.. Thank you <3

If anything contact me on discord or [Grav Forums](https://discourse.getgrav.org/t/issue-bug-accounts-without-super-user-cannot-duplicate-pages/25406)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue in the Grav Admin panel with a new account whose permissions allow page editing but deny Super User, following the listed steps. Inspect the permission-dependent three-dot menu for pages and modules; done means the account can duplicate pages without gaining access to configuration settings.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
authorization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.