Skip to content
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

restrict invite requests to a single receiver #139

Merged
merged 1 commit into from
Dec 22, 2023
Merged

Conversation

individual-it
Copy link
Member

fixes #138

oCIS will allow a maximum of one invite at a time after owncloud/ocis#8019
We can make the change here already now

Copy link

@@ -76,17 +77,19 @@ public function testDeleteIndividualShare(): void
public function testDeleteGroupShare(): void
{
$philosophyHatersGroup = $this->ocis->createGroup(
'philosophyhaters',
'philosophy-haters',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
'philosophy-haters',
'philosophyhaters',

We removed these - yesterday.

$shares = $this->ocis->getSharedByMe();
foreach ($shares as $share) {
$this->assertInstanceOf(ShareCreated::class, $share);
if ($share->getReceiver()->getDisplayName() === 'philosophyhaters') {
if ($share->getReceiver()->getDisplayName() === 'philosophy-haters') {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if ($share->getReceiver()->getDisplayName() === 'philosophy-haters') {
if ($share->getReceiver()->getDisplayName() === 'philosophyhaters') {

We removed these - yesterday.

@individual-it individual-it merged commit 97e8eff into main Dec 22, 2023
1 check passed
@individual-it individual-it deleted the singleReceiver branch December 22, 2023 06:17
ownclouders pushed a commit that referenced this pull request Dec 22, 2023
restrict invite requests to a single receiver
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

remove the possibility to invite multiple recipients in the same call
2 participants