API UsersManager.* accepting $userLogin should work well when super user login is passed #582

Closed
mattab opened this Issue Mar 3, 2009 · 1 comment

1 participant

@mattab
Piwik Open Source Analytics member

Currently when super user login is passed to the UsersManager function accepting a $userLogin parameter, result is not always right.

However results are accurate when the super user token_auth is used.

We should fix implementation so that result is accurate when $userLogin is set to the super user login.

Also we should check that other API methods accepting logins are expected to receive the Super User login.

@mattab
Piwik Open Source Analytics member

(In 1040) – fixes #582 API UsersManager.* accepting $userLogin should work well when super user login is passed
+ adding tests
- tests are much faster now: only creating/droping DB and tables once per class rather than once per method
- fixing broken test (infinite recursion in datatable calls destruct +100 times)

@mattab mattab added this to the RobotRock milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment