-
Notifications
You must be signed in to change notification settings - Fork 310
chore/share provide get users #7499
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
54c280c to
709e23b
Compare
62c7981 to
22f8473
Compare
22f8473 to
dfe25f2
Compare
icewind1991
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.
Other than the circles handling it looks good and seems to work as expected
| return $member->getUserType() === Member::TYPE_USER; | ||
| }); | ||
| foreach ($members as $member) { | ||
| $user = $this->userManager->get($member->getUserId()); |
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.
You can use IUserManager::getExistingUser here which doesn't require validating that the user exists in the user backend.
icewind1991
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.
Looks good and seems to work
Signed-off-by: Julius Knorr <jus@bitgrid.net>
Signed-off-by: Julius Knorr <jus@bitgrid.net>
Signed-off-by: grnd-alt <git@belakkaf.net>
Signed-off-by: grnd-alt <git@belakkaf.net>
Signed-off-by: grnd-alt <git@belakkaf.net>
a799ab4 to
75172a4
Compare
chore: Expose IUser object of internal DTO
chore: Implement getUsersForShare on share provider
Needs additional work for feat: add event for apps that a users share access might have changed server#57392
Required for nextcloud/server#57158