-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Strict settings #8743
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
Strict settings #8743
Conversation
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Codecov Report
@@ Coverage Diff @@
## master #8743 +/- ##
=============================================
- Coverage 51.79% 31.44% -20.36%
Complexity 25377 25377
=============================================
Files 1608 1608
Lines 95173 95172 -1
Branches 1377 1377
=============================================
- Hits 49297 29927 -19370
- Misses 45876 65245 +19369
|
| private $l; | ||
|
|
||
| /** @var IGroupManager */ | ||
| /** @var GroupManager */ |
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.
just adding both here should work and we can still only request IGroupManager ?
Or why is it needed?
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.
Else it can't resolve
| $this->groupManager->getSubAdmin()->isUserAccessible($currentUser, $targetUser)) |
I guess for Settings and Core it is fine to inject the non public ones. As we don't always want to expose everything.
MorrisJobke
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.
Tested and still works 👍
For #8375