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

Copy dashboard doesn't work with special characters in the username #14191

Closed
Findus23 opened this issue Mar 12, 2019 · 1 comment · Fixed by #14197
Closed

Copy dashboard doesn't work with special characters in the username #14191

Findus23 opened this issue Mar 12, 2019 · 1 comment · Fixed by #14197
Assignees
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Milestone

Comments

@Findus23
Copy link
Member

reported in https://forum.matomo.org/t/copy-dashboard-to-user-not-working-on-usernames-containing-special-characters/32016

  1. Create user called test123_-.@+

  2. give the user view access to all website

  3. try to copy the dashboard to this user

The following error appears:

Cannot copy dashboard to user test123_-.%40%2B, user not found or user does not have access to same site.

Bonus question from the forum:

Finally, why exactly might copying dashboard layouts fail when a user does not have access to the same site as mentioned in the above error message? Ain’t those layouts in general independent from user rights towards sites? 🤔

@Findus23 Findus23 added the Bug For errors / faults / flaws / inconsistencies etc. label Mar 12, 2019
@tsteur tsteur added this to the Backlog (Help wanted) milestone Mar 12, 2019
@sgiehl sgiehl self-assigned this Mar 13, 2019
@sgiehl
Copy link
Member

sgiehl commented Mar 13, 2019

Finally, why exactly might copying dashboard layouts fail when a user does not have access to the same site as mentioned in the above error message? Ain’t those layouts in general independent from user rights towards sites? thinking

the message is simply incorrect, as it only checks if the user exists, there is even no site given in the request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants