Skip to content

restrict invite requests to a single receiver#139

Merged
individual-it merged 1 commit intomainfrom
singleReceiver
Dec 22, 2023
Merged

restrict invite requests to a single receiver#139
individual-it merged 1 commit intomainfrom
singleReceiver

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

@sonarqubecloud
Copy link

{
$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.

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
@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