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

export data csv, xml, json, php denied for anyuser #391

Closed
sitonerd opened this issue Oct 16, 2008 · 1 comment
Closed

export data csv, xml, json, php denied for anyuser #391

sitonerd opened this issue Oct 16, 2008 · 1 comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.

Comments

@sitonerd
Copy link

http://host.com/index.php?module=API&method=VisitorInterest.getNumberOfVisitsPerVisitDuration&format=CSV&idSite=58&period=day&date=2008-10-15&filter_limit=100

if called with any kind of site profile ( admin|view ) the call will put back :

Error: You can’t access this resource as it requires a ‘view’ access for the website id = X.

Tryed with admin and view access level but always the same. In the stable release this problem is not present.

The problem is present not only for “unprivileged” site users but also for the “super” ADMIN.

Keywords: export, VisitorInterest.getNumberOfVisitsPerVisitDuration, CSV, JSON, PHP, XML

@mattab
Copy link
Member

mattab commented Oct 29, 2008

Thx for report, this has been fixed in SVN.
problem was that the token_auth wasn’t forwarded in the URL.
now the token_auth is automatically added when clicking on the footer icons.

in svn 659, soon to be pushed as new release

This issue was closed.
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. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Projects
None yet
Development

No branches or pull requests

2 participants