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

Insufficient permission error showing for Audience widget on secondary admin main dashboard. #9411

Open
1 task
mohitwp opened this issue Sep 25, 2024 · 3 comments
Assignees
Labels
Type: Bug Something isn't working

Comments

@mohitwp
Copy link
Collaborator

mohitwp commented Sep 25, 2024

Bug Description

I noticed that if I log in as a secondary admin and go directly to the main dashboard without visiting the 'View Only Dashboard,' I receive an insufficient permission error for the Audience widget. However, if I either disconnect and visit the 'View Only Dashboard' first or access the 'View Only Dashboard' before signing in, I don’t encounter the insufficient permission error.

Note: All admins have view-only access to Analytics.

Steps to reproduce

  1. Set up SK as primary admin and share Analytics with Admin users
  2. Create secondary admin.
  3. Login as Secondary admin and sign in.
  4. See insufficient permission error for the Audience widget on main dashboard.
  5. Disconnect the site kit.
  6. Visit 'View only dashboard'.
  7. Login again as secondary admin.
  8. Now insufficient permission error will not appear for Audience widget on main only dashboard.

Screenshots

Uploading Recording #1419.mp4…

Additional Context

  • PHP Version:
  • OS: [e.g. iOS]
  • Browser: [e.g. chrome, safari]
  • Plugin Version: [e.g. 22]
  • Device: [e.g. iPhone6]

Do not alter or remove anything below. The following sections will be managed by moderators only.

Acceptance criteria

Implementation Brief

Test Coverage

QA Brief

Changelog entry

@techanvil
Copy link
Collaborator

techanvil commented Sep 26, 2024

Hi @mohitwp, I'm unable to reproduce the issue. When I login as a secondary admin with view access to the property and sign in, I see the audience tiles as expected without an insufficient permissions error:

image

The video you mentioned didn't upload properly, please can you re-upload it so I can take a closer look? I'd suggest that you also try reproducing the issue again yourself to verify whether it's still occurring for you, if not then we can simply close the issue.

@techanvil techanvil assigned mohitwp and unassigned techanvil Sep 26, 2024
@mohitwp
Copy link
Collaborator Author

mohitwp commented Sep 27, 2024

@techanvil

Apologies! I’ve reuploaded the video here. I’m still able to reproduce the issue. I tested this on a new site. Please do not visit the 'view only' dashboard; instead, sign in directly as a secondary admin.

Recording.1438.mp4

@mohitwp mohitwp assigned techanvil and unassigned mohitwp Sep 27, 2024
@techanvil
Copy link
Collaborator

Thanks @mohitwp. Are you sure your secondary admin has view access to the property?

When the user has view access to the property, I am not seeing the error:

9411-triage.mp4

It's only when I remove the view access and try again that I do see the error:

9411-triage-no-access.mp4

Please double check your user's permissions for the property. If you are still able to reproduce the error having confirmed the view access is present, let's jump on a call to figure this one out.

@techanvil techanvil assigned mohitwp and unassigned techanvil Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants