-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Start porting Admin audit to new events #32019
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
Conversation
d997c8b to
ec11322
Compare
ec11322 to
fe22b7f
Compare
fe22b7f to
6066303
Compare
nickvergessen
left a comment
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.
Or am I missing something?
6066303 to
f460155
Compare
f460155 to
ad4fe1c
Compare
nickvergessen
left a comment
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.
Half 🐘
blizzz
left a comment
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.
Questions
291eb93 to
e6e6a95
Compare
Signed-off-by: Carl Schwan <[email protected]>
9a9326b to
3f118f9
Compare
|
|
||
| /** | ||
| * determines the next configuration prefix based on the last one (if any) | ||
| * |
Check notice
Code scanning / Psalm
PossiblyNullOperand
| $coreUserManager, $coreNotificationManager, $shareManager); | ||
| $connector = new Connection($this->ldap, $configPrefix); | ||
| $access = new Access($connector, $this->ldap, $userManager, new Helper($ocConfig, \OC::$server->getDatabaseConnection()), $ocConfig, $coreUserManager, $logger); | ||
| $access = new Access($connector, $this->ldap, $userManager, new Helper($ocConfig, \OC::$server->getDatabaseConnection()), $ocConfig, $coreUserManager, $logger, $dispatcher); |
Check notice
Code scanning / Psalm
PossiblyUndefinedVariable
| $coreNotificationManager = \OC::$server->getNotificationManager(); | ||
| $shareManager = \OC::$server->get(IManager::class); | ||
| $logger = \OC::$server->get(LoggerInterface::class); | ||
| $dispatcher = \OC::$server->get(IEventDispatcher::class); |
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.
make $dispatcher static, otherwise it will be null on the next runs.
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.
Why? Is that specific to IEventDispatcher?
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.
the local var, look couple lines above
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.
Ok understood, nice catch.
Based on work from #32019 Signed-off-by: Thomas Citharel <[email protected]>
|
I've pulled most of this in #37193, apart from the heavier refactoring from |
Based on work from #32019 Signed-off-by: Thomas Citharel <[email protected]>
|
Closing here in favor of #37193 |
Based on work from #32019 Signed-off-by: Thomas Citharel <[email protected]>
Based on work from #32019 Signed-off-by: Thomas Citharel <[email protected]>
Based on work from #32019 Signed-off-by: Thomas Citharel <[email protected]>
Based on work from #32019 Signed-off-by: Thomas Citharel <[email protected]>
No description provided.