summaryrefslogtreecommitdiffstats
path: root/apps/admin_audit
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2020-12-08 12:56:54 +0100
committerJulius Härtl <jus@bitgrid.net>2020-12-09 13:20:23 +0100
commitbac1651380f8330a5660d44d098f427f1cef8b4b (patch)
treee3b9703131d84db01622470983db9f83025c7638 /apps/admin_audit
parentf2f3ad733f4b29e1595bbececf3e19f0ff052b70 (diff)
downloadnextcloud-server-bac1651380f8330a5660d44d098f427f1cef8b4b.tar.gz
nextcloud-server-bac1651380f8330a5660d44d098f427f1cef8b4b.zip
Handle deck share type in audit and dav app
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/admin_audit')
-rw-r--r--apps/admin_audit/lib/Actions/Sharing.php25
1 files changed, 25 insertions, 0 deletions
diff --git a/apps/admin_audit/lib/Actions/Sharing.php b/apps/admin_audit/lib/Actions/Sharing.php
index 2c28660a56f..cab02ab1886 100644
--- a/apps/admin_audit/lib/Actions/Sharing.php
+++ b/apps/admin_audit/lib/Actions/Sharing.php
@@ -146,6 +146,19 @@ class Sharing extends Action {
'id',
]
);
+ } elseif ($params['shareType'] === IShare::TYPE_DECK) {
+ $this->log(
+ 'The %s "%s" with ID "%s" has been shared to the deck card "%s" with permissions "%s" (Share ID: %s)',
+ $params,
+ [
+ 'itemType',
+ 'itemTarget',
+ 'itemSource',
+ 'shareWith',
+ 'permissions',
+ 'id',
+ ]
+ );
}
}
@@ -250,6 +263,18 @@ class Sharing extends Action {
'id',
]
);
+ } elseif ($params['shareType'] === IShare::TYPE_DECK) {
+ $this->log(
+ 'The %s "%s" with ID "%s" has been unshared from the deck card "%s" (Share ID: %s)',
+ $params,
+ [
+ 'itemType',
+ 'fileTarget',
+ 'itemSource',
+ 'shareWith',
+ 'id',
+ ]
+ );
}
}