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

Craft 5 Permissions issue #1490

Open
iwingate-digistorm opened this issue Jul 11, 2024 · 0 comments
Open

Craft 5 Permissions issue #1490

iwingate-digistorm opened this issue Jul 11, 2024 · 0 comments
Labels

Comments

@iwingate-digistorm
Copy link

iwingate-digistorm commented Jul 11, 2024

Describe the bug

If a user does not have permissions to access the first item in a group, they are unable to access any of the settings. As clicking on the Group heading in the sidebar redirects you to the first item.

To reproduce

Steps to reproduce the behaviour:

  1. Set a users permissions to the following:
    Screenshot 2024-07-12 at 09 50 40

  2. Impersonate the User & click on the Site Settings tab in the sidebar

  3. You will get a permission error as the user does not have permission to the Identity settings.

Expected behaviour

Ideally, when a user clicks on a top-level item, they would get redirected to the first page they have permissions for.

Versions

  • Plugin version: 5.0.4
  • Craft version: 5.2.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant