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

SEOmatic dashboard links for pages a user doesn't have permissions to access #876

Open
sm9 opened this issue Apr 29, 2021 · 0 comments
Open
Labels

Comments

@sm9
Copy link

sm9 commented Apr 29, 2021

Hi Andrew, I've created a new User Group named 'SEO Admins'. I want to use this to give trusted client users access to certain SEOmatic pages.

General > Access the control panel - tick
General > Access SEOmatic - tick
SEOmatic > Dashboard - tick

The above is the minimum permissions I need to assign in order for the user to see the SEOmatic menu item and click on it to load the dashboard.

The bug I'm reporting is that if the user doesn't have access to any or all of the individual permissions in the Edit Global Meta, Edit Content SEO, or Edit Site Settings permissions, I don't think those corresponding links on the dashboard should be clickable links: Screenshot: https://www.dropbox.com/s/661szp45jwx49j9/Screenshot%202021-04-29%20at%2011.13.58.png?dl=0

As the user will then get an unauthorised error: https://www.dropbox.com/s/ktszzoi2ops4fcx/Screenshot%202021-04-29%20at%2011.15.21.png?dl=0

Maybe the permission error is intentional? In which case, this may be a feature request as I think it would be slightly better UX to only have clickable links to the pages that the user has permission to access. Thanks.

Versions

  • Plugin version: SEOmatic 3.3.29
  • Craft version: Craft CMS 3.5.18
@sm9 sm9 added the bug label Apr 29, 2021
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