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

[synergy][Cozy] Export of user data could be made accessible to Cozy #12193

Closed
jibe-b opened this Issue Oct 13, 2017 · 14 comments

Comments

Projects
None yet
2 participants
@jibe-b

jibe-b commented Oct 13, 2017

Cozy is a self-hosted cloud service which has connectors to call user's data back.

Analytics data are of this type, in particular with the application of the GDPR coming soon.

As far as I know (I haven't been really deep into Piwik's code, so I might not have found something already existing), user data can be selected (when logged, or associated to an IP), as well as exported.

An option to connect to Cozy would to enable to export one's data (let's say, the ones associated to a login) so that a Cozy connector can call them back for a user.

cc @doubleface

@jibe-b

This comment has been minimized.

Show comment
Hide comment

jibe-b commented Oct 13, 2017

@jibe-b

This comment has been minimized.

Show comment
Hide comment
@jibe-b

jibe-b Oct 15, 2017

Related to #6095 (and probably others, I will dive into the issues to gather some more, as a first step in the Piwik community)

jibe-b commented Oct 15, 2017

Related to #6095 (and probably others, I will dive into the issues to gather some more, as a first step in the Piwik community)

@mattab

This comment has been minimized.

Show comment
Hide comment
@mattab

mattab Oct 16, 2017

Member

Hi @jibe-b
This sounds like a good idea, but shouldn't this issue be created in Cozy project rather than in Piwik here?

Member

mattab commented Oct 16, 2017

Hi @jibe-b
This sounds like a good idea, but shouldn't this issue be created in Cozy project rather than in Piwik here?

@jibe-b

This comment has been minimized.

Show comment
Hide comment
@jibe-b

jibe-b Oct 17, 2017

@mattab I wanted to know if it was easily feasible on the Piwik side, as the admin of a Piwik instance will in definitive be the one that opens the tap of this data.

Indeed, I proposed the idea and will advance this more with the Cozy team.

jibe-b commented Oct 17, 2017

@mattab I wanted to know if it was easily feasible on the Piwik side, as the admin of a Piwik instance will in definitive be the one that opens the tap of this data.

Indeed, I proposed the idea and will advance this more with the Cozy team.

@mattab

This comment has been minimized.

Show comment
Hide comment
@mattab

mattab Oct 17, 2017

Member

Yes, it should be easy to call Piwik APIs to get any data you want. Learn more here: http://developer.piwik.org/api-reference/reporting-api
or here: https://piwik.org/docs/analytics-api/

if you want to export one user's data you can use the Live APIs

Member

mattab commented Oct 17, 2017

Yes, it should be easy to call Piwik APIs to get any data you want. Learn more here: http://developer.piwik.org/api-reference/reporting-api
or here: https://piwik.org/docs/analytics-api/

if you want to export one user's data you can use the Live APIs

@mattab mattab closed this Oct 17, 2017

@mattab mattab added the answered label Oct 17, 2017

@jibe-b

This comment has been minimized.

Show comment
Hide comment
@jibe-b

jibe-b Oct 17, 2017

Super, thank you for helping the damn too lazy guy that I am ;)

jibe-b commented Oct 17, 2017

Super, thank you for helping the damn too lazy guy that I am ;)

@jibe-b

This comment has been minimized.

Show comment
Hide comment
@jibe-b

jibe-b Nov 6, 2017

@mattab I see the four levels of right a user may have (no access, view, management, superuser)

But I don't find the possibility to restrict what a user with the view rights can access (here, the Visiter Profile associated to her email address).

Note: I consider a situation in which a SSO and Piwik users are created with the SSO email adresses/usernames.

jibe-b commented Nov 6, 2017

@mattab I see the four levels of right a user may have (no access, view, management, superuser)

But I don't find the possibility to restrict what a user with the view rights can access (here, the Visiter Profile associated to her email address).

Note: I consider a situation in which a SSO and Piwik users are created with the SSO email adresses/usernames.

@mattab

This comment has been minimized.

Show comment
Hide comment
@mattab

mattab Nov 6, 2017

Member

it is not possible to restrict further what a user can see. Typically you'd have a secret token auth and you could serve a particular user's data (Visitor profile for their email address) to them, without revealing the full token

Member

mattab commented Nov 6, 2017

it is not possible to restrict further what a user can see. Typically you'd have a secret token auth and you could serve a particular user's data (Visitor profile for their email address) to them, without revealing the full token

@jibe-b

This comment has been minimized.

Show comment
Hide comment
@jibe-b

jibe-b Nov 7, 2017

I think I got the big picture but if I can rephrase, you suggest to add a "Download visitor profile" on my website which takes the infos of the authenticated user, using a piwik_user specific to this task and return the data to the user.

I want the least possible to add any layer of complexity to the API. This would ease the creation of a Piwik connector/collector for Cozy (get the Visitor profile of a user through the Piwik API for any Piwik instance (letting each Piwik instance handle user management by its own))

jibe-b commented Nov 7, 2017

I think I got the big picture but if I can rephrase, you suggest to add a "Download visitor profile" on my website which takes the infos of the authenticated user, using a piwik_user specific to this task and return the data to the user.

I want the least possible to add any layer of complexity to the API. This would ease the creation of a Piwik connector/collector for Cozy (get the Visitor profile of a user through the Piwik API for any Piwik instance (letting each Piwik instance handle user management by its own))

@mattab

This comment has been minimized.

Show comment
Hide comment
@mattab

mattab Nov 7, 2017

Member

We probably will do something similar for GDPR compliance. Stay tuned on this...

Member

mattab commented Nov 7, 2017

We probably will do something similar for GDPR compliance. Stay tuned on this...

@jibe-b

This comment has been minimized.

Show comment
Hide comment
@jibe-b

jibe-b Nov 7, 2017

Indeed ;)

Is there already an issue to follow about this? Should I open one?

jibe-b commented Nov 7, 2017

Indeed ;)

Is there already an issue to follow about this? Should I open one?

@jibe-b

This comment has been minimized.

Show comment
Hide comment
@jibe-b

jibe-b Nov 7, 2017

I would like to follow closely how this will/may be implemented,

as I will start developing a Cozy collector/connector for Piwik (as a way on training on cozy stack), which will have to wait for this right management feature to be usable. I will indeed update it to the way the API will be modified.

jibe-b commented Nov 7, 2017

I would like to follow closely how this will/may be implemented,

as I will start developing a Cozy collector/connector for Piwik (as a way on training on cozy stack), which will have to wait for this right management feature to be usable. I will indeed update it to the way the API will be modified.

@jibe-b

This comment has been minimized.

Show comment
Hide comment
@jibe-b

jibe-b Nov 7, 2017

Development of this konnector will be here https://github.com/jibe-b/cozy-konnector-piwik

jibe-b commented Nov 7, 2017

Development of this konnector will be here https://github.com/jibe-b/cozy-konnector-piwik

@jibe-b

This comment has been minimized.

Show comment
Hide comment
@jibe-b

jibe-b commented Nov 17, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment