From 2ebf26e4447c6c5eef41be35ee4487c78ffe8231 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Thu, 15 Mar 2018 14:43:59 +0100 Subject: admin_audit and dav listen to announce and revoke signals also place them in doc Signed-off-by: Arthur Schiwon --- apps/admin_audit/lib/Actions/UserManagement.php | 26 +++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'apps/admin_audit/lib/Actions/UserManagement.php') diff --git a/apps/admin_audit/lib/Actions/UserManagement.php b/apps/admin_audit/lib/Actions/UserManagement.php index 45250d4e708..9e015160773 100644 --- a/apps/admin_audit/lib/Actions/UserManagement.php +++ b/apps/admin_audit/lib/Actions/UserManagement.php @@ -50,6 +50,19 @@ class UserManagement extends Action { ); } + /** + * Log assignments of users (typically user backends) + * + * @param string $uid + */ + public function announce(string $uid) { + $this->log( + 'UserID assgined: "%s"', + [ 'uid' => $uid ], + [ 'uid' ] + ); + } + /** * Log deletion of users * @@ -65,6 +78,19 @@ class UserManagement extends Action { ); } + /** + * Log unassignments of users (typically user backends, no data removed) + * + * @param string $uid + */ + public function revoke(string $uid) { + $this->log( + 'UserID unassigned: "%s"', + [ 'uid' => $uid ], + [ 'uid' ] + ); + } + /** * Log enabling of users * -- cgit v1.2.3