widgets should be able to be partly public #1126
Labels
duplicate
For issues that already existed in our issue tracker and were reported previously.
Enhancement
For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Milestone
as of right now you can either make all stats public or not
if you include a public widget on your website, somebody with some piwik knowledge would easily be able to get all other statitics information as well
if we could say: "widget 1: pie chart of "users online"; range x-y; further options..." and "widget 2: bar chart of something else"
only those two would be publically accessable - the rest would still need proper authentication of moderators or admins
how could it work?
the problem is the auth token
in the above scenario we would have to create two special auth tokens - one for each widget. and they are only valid for this specific pattern of options
we would use a widget url like:
src="/piwik/index.php?module=Widgetize&action=iframe&columns[]=nb_visits&moduleToWidgetize=VisitsSummary&actionToWidgetize=getEvolutionGraph&idSite=1&period=day&date=2010-01-25&disableLink=1&token_auth={specialWidgetToken}"
or even better: read all options from our setup in the piwik backend and just use the token:
src="/piwik/index.php?module=Widgetize&action=iframe&token_auth={specialWidgetToken}"
i guess in the meantime i'm not able to use piwik widgets
Keywords: accessability widgets
The text was updated successfully, but these errors were encountered: