Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Fuficek opened this issue May 26, 2024 · 6 comments
Open

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

Fuficek opened this issue May 26, 2024 · 6 comments

Comments

@Fuficek
Copy link

Fuficek commented May 26, 2024

Hello,
I’ve already submitted this issue to discord, and Grav Forum.

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
image

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

@chraebsli
Copy link

Duplicate of #2408

@rhukster
Copy link
Member

I'm not able to recreate this issue. I have testd with an 'author' user that simply has these permissions:

  access:
    admin:
      login: true
      pages:
        list: true
        create: true
        update: true
        read: true

They are able to see the copy button in both the listing page and the details page:

CleanShot 2024-05-27 at 14 17 03@2x

CleanShot 2024-05-27 at 14 17 22@2x

CleanShot 2024-05-27 at 14 17 55@2x

What does the actual account .yaml file look like? (user/accounts/username.yaml)

What plugins do you have installed?

@Fuficek
Copy link
Author

Fuficek commented May 27, 2024

The account permissions:

access:
  site:
    login: true
  admin:
    login: true
    cache: true
    configuration: true
    pages: true
    maintenance: true
    statistics: true
    plugins: true
    themes: true
    tools: true
    users: true
    flex-objects: true

My installed plugins:
image
(Webp plugins are disabled)

I've tried a fresh installation and the issue persists.

@pamtbaau
Copy link

Shall we close the original issue #2408 or this duplicate and continue in one issue?

@chraebsli
Copy link

Shall we close the original issue #2408 or this duplicate and continue in one issue?

I like the idea.

@pamtbaau
Copy link

I've added a reproducible script on in the original issue: #2408 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants