-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Audit the tag creator #40163
Audit the tag creator #40163
Conversation
Im not sure how to continue here: |
@@ -189,6 +190,13 @@ | |||
$appActions->runCommand($event->getArguments()); | |||
}); | |||
} | |||
private function tagHooks(IAuditLogger $logger, | |||
IEventDispatcher $eventDispatcher): void { | |||
$eventDispatcher->addListener(\OCP\SystemTag\ManagerEvent::EVENT_CREATE, function (\OCP\SystemTag\ManagerEvent $event) use ($logger) { |
Check notice
Code scanning / Psalm
DeprecatedConstant Note
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice that we deprecated it without having a replacement 😅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well I deprecated all of the old style to make people aware that we need to update it at some point.
Also it allows us to drop the old thing sooner :P
95a1f06
to
f4227f6
Compare
64b6a5b
to
4d3bd0a
Compare
ccf27ca
to
feb227f
Compare
Co-authored-by: greta <[email protected]> Co-authored-by: Ferdinand Thiessen <[email protected]> Signed-off-by: greta <[email protected]>
feb227f
to
d590373
Compare
Summary
TODO
Checklist