@anonymous-piwik-user opened this Issue on May 5th 2010

On 7 step I've got following error message "- You can't access this resource as it requires an 'admin' access for at least one website."

Even if I try to use "example.org" or my own domain.
Tried to use svn version and lates.zip without result, same error.

@robocoder commented on May 5th 2010 Contributor

This appears to be the problem behind the failing webtest.

@mattab commented on May 5th 2010 Owner

I broke that.. let me fix it

@mattab commented on May 5th 2010 Owner

(In [2138]) Fixes #1326
checkUserHasSomeAdminAccess() fails when there is no website yet. Making it work if user is super user.

@mattab commented on May 5th 2010 Owner

(In [2140]) 0.6 with fix #1326

@mattab commented on May 5th 2010 Owner

This was introduced in [2124]

I republished 0.6 with the fix in it, hopefully not many users did have time to download 0.6

@robocoder commented on May 5th 2010 Contributor

Thanks Matt.

For consistency, can we similarly patch checkUserHasAdminAccess()?

@mattab commented on May 5th 2010 Owner

checkUserHasAdminAccess is slightly different as it is used to actually check also that the idsites provided are correct and exist (eg. in SitesManager.updateSite).

If we change checkUserHasAdminAccess we would need to check that all methods would not fail or misbehave when give one or a list of fake website IDs. but agreed, this would be consistent and good todo :)

This Issue was closed on May 5th 2010
Powered by GitHub Issue Mirror