diff options
author | Bart Visscher <bartv@thisnet.nl> | 2012-04-13 19:40:33 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2012-05-07 09:04:07 +0200 |
commit | 2d581c675fb488df0875e4a489821cf88b7679ac (patch) | |
tree | 4180d67536e781d399e2b6336e2a8b49ca8abd7b /apps/admin_audit/appinfo | |
parent | a2df8a4746dd9c355541501e78726daaa6dbec43 (diff) | |
download | nextcloud-server-2d581c675fb488df0875e4a489821cf88b7679ac.tar.gz nextcloud-server-2d581c675fb488df0875e4a489821cf88b7679ac.zip |
Audit: Log sharing actions
Diffstat (limited to 'apps/admin_audit/appinfo')
-rw-r--r-- | apps/admin_audit/appinfo/app.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/admin_audit/appinfo/app.php b/apps/admin_audit/appinfo/app.php index 27a72de432c..e52f633cf14 100644 --- a/apps/admin_audit/appinfo/app.php +++ b/apps/admin_audit/appinfo/app.php @@ -12,3 +12,7 @@ OCP\Util::connectHook(OC_Filesystem::CLASSNAME, OC_Filesystem::signal_copy, 'OC_ OCP\Util::connectHook(OC_Filesystem::CLASSNAME, OC_Filesystem::signal_write, 'OC_Admin_Audit_Hooks_Handlers', 'write'); OCP\Util::connectHook(OC_Filesystem::CLASSNAME, OC_Filesystem::signal_read, 'OC_Admin_Audit_Hooks_Handlers', 'read'); OCP\Util::connectHook(OC_Filesystem::CLASSNAME, OC_Filesystem::signal_delete, 'OC_Admin_Audit_Hooks_Handlers', 'delete'); + +OCP\Util::connectHook('OC_Share', 'public', 'OC_Admin_Audit_Hooks_Handlers', 'share_public'); +OCP\Util::connectHook('OC_Share', 'public-download', 'OC_Admin_Audit_Hooks_Handlers', 'share_public_download'); +OCP\Util::connectHook('OC_Share', 'user', 'OC_Admin_Audit_Hooks_Handlers', 'share_user'); |