User:Fligtar/Stats Dashboard/Access Controls

From MozillaWiki
Jump to: navigation, search

Stats Dashboard Access Controls

Add-on Developer Access

  • Developers can always access the Stats Dashbboard (SD) for their add-ons from the Developer Tools index
  • The SD index page (accessible from the Dev Tools sidebar) will list all of the user's add-ons
  • The SD index will also list any publicstats add-ons in a dropdown to view
  • Only the add-on developer can change whether the SD for their add-on is private or public (this is done from the Change Settings link at the bottom of the dashboard) next to the dashboard's current privacy setting.
  • The summary RSS feed (both the link and the URL bar icon) should have a key appended to the URL that will allow viewing the feed without being logged in. The key will be there regardless of SD privacy status, as once someone adds the feed, if they later decide to make it private again, it would get access denied.
  • Add-ons that are publicstats will have a link to the stats in the Extended Info section of the add-on's display page

Admin:ViewAnyStats & Admins

  • These users can access the SD for any add-on via the SD index. In addition to seeing the list of their own add-ons, they will see a dropdown with every add-on to view the SD.
  • These users cannot change the privacy setting of a dashboard (except for their own add-ons). Instead of a Change Settings link next to the current dashboard's status, they will see red text asking them to treat the info as confidential (if it's not their own add-on).
  • The summary RSS feed will still have the key at the end of the URL.

General Public (both logged in and not logged in)

  • These users can only see the SD for add-ons marked publicstats. The main method of accessing this would be the "View stats" link on an add-on's display page, although they can also login and go to Developer Tools and find the SD index page link there.
  • The SD index will have a dropdown with all publicstats add-ons. If the user is not logged in, instead of a Developer Tools sidebar, the only item in the sidebar will be a log in link.
  • These users cannot change the privacy setting and will not see anything next to the dashboard's current status.
  • These users should not have a key appended to the RSS feed URL as they should not be able to access the stats if the dashboard is private.