Dear matomo team / community,
We might have run into a bug when trying to copy custom dashboard layouts to other users. When updating to the latest version at least there was an error message that might provide a hint why it fails, saying:
“Cannot copy dashboard to user […]%40[…], user not found or user does not have access to same site.”
Copying dashboard layouts to users that do not contain special characters in their usernames does work flawlessly though. Therefore we are assuming that there might be an encoding / decoding error at some point during the process of copying dashboard layouts.
We are using two premium plugins (white label + roll-up reporting) and overall, our custom dashboard layouts all use widgets being available by default.
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?
Thanks for any feedback on the above