Grav-plugin-admin: User with Site Configuration permissions is not allowed to manage Site Configuration

Created on 20 Apr 2021  ·  1Comment  ·  Source: getgrav/grav-plugin-admin

I’m not sure if this Issue should be filed in the admin plugin or here, so I’ll go for the more generic approach.

  1. I create a group group-config-site with the following permissions:
    yaml group-config-site: access: admin: login: true configuration: site: true
  2. I create a user user-config-site.
  3. I assign the group group-config-site to user-config-site.
  4. I login with user-config-site.
  5. In the Site Configuration page (/admin/config/site), I change the title of the site.
  6. I submit the form to save the change.
  7. The message “You have insufficient permissions for task save.” is displayed.
  8. The changes are not saved.

Adding system: true to the group allows user-config-site to save the Site Configuration.

This is based on the environment in https://github.com/getgrav/grav-plugin-admin/issues/2001 and the following (latest) versions:

  • Grav v1.7.1.2
  • Admin Panel v1.10.12
  • Email v3.1.2
  • Error v1.7.1
  • Flex Objects v1.0.7
  • Form v5.0.1
  • Login v3.4.2
  • Markdown Notices v1.1.0
  • Problems v2.1.1
bug fixed in repo

Most helpful comment

@arkhi Should be fixed now. :)

>All comments

@arkhi Should be fixed now. :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jundiya picture jundiya  ·  4Comments

darkroastcreative picture darkroastcreative  ·  4Comments

dimayakovlev picture dimayakovlev  ·  5Comments

coolemur picture coolemur  ·  3Comments

danzinger picture danzinger  ·  5Comments