Opened 3 years ago

Closed 2 years ago

Last modified 2 years ago

#2580 closed New feature (fixed)

UsersManager and SitesManager - add and update hooks

Reported by: vipsoft Owned by:
Priority: normal Milestone: 1.7 Piwik 1.7
Component: Core Keywords:
Cc: Sensitive: no


There are currently hooks when a user or site is deleted, but not when either are added or updated.

use cases:

  • addUser/updateUser - 3rd-party plugins that want to sync with their own user database and provide their own authentication mechanism
  • addSite/updateSite - see BotTracker in #2391

Change History (3)

comment:1 Changed 2 years ago by vipsoft (robocoder)

  • Resolution set to fixed
  • Status changed from new to closed

(In [5645]) fixes #2580

comment:2 Changed 2 years ago by vipsoft (robocoder)

  • Milestone changed from 1.8 Piwik 1.8 to 1.7 Piwik 1.7


  • SitesManager.addSite, SitesManager.updateSite, SitesManager.deleteSite
  • UsersManager.addUser, UsersManager.updateUser, UsersManager.deleteUser

comment:3 Changed 2 years ago by matt (mattab)

Nice one :)

Note: See TracTickets for help on using tickets.