Skip to content

[stable15] groupname like username - allow share with both - #14709

Merged
MorrisJobke merged 3 commits into
stable15from
unknown repository
Mar 20, 2019
Merged

[stable15] groupname like username - allow share with both#14709
MorrisJobke merged 3 commits into
stable15from
unknown repository

Conversation

@aignerat

Copy link
Copy Markdown
Member

It happens that users and groups have the same name in big organizations, the nextcloud standard behaviour is like this: I can only share with the user or the group.
With this small extension it's possible to share files with the group "test" and the user "test" at the same time.

I added this feature, because it makes no sense to me to disallow the sharing because of the same name of a group and an user.

Signed-off-by: Christian Aigner <christian.aigner@huemer-it.com>
Comment threadlib/private/Share20/Manager.php Outdated
Comment threadlib/private/Share20/Manager.php Outdated
@MorrisJobkeMorrisJobke added 2. developing Work in progress and removed 3. to review Waiting for reviews labels Mar 20, 2019
@MorrisJobke

Copy link
Copy Markdown
Member

/backport to master

@MorrisJobke

Copy link
Copy Markdown
Member

Usually we first develop something against master and then backport to the stable branches. But for this one it's okay to do it the other way around.

@ChristophWurstChristophWurst left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Makes sense

MorrisJobkeand others added 2 commits March 20, 2019 12:50
fixed tabulator
Co-Authored-By: aignerat <46312655+aignerat@users.noreply.github.com>
tabulator change
Co-Authored-By: aignerat <46312655+aignerat@users.noreply.github.com>

@MorrisJobkeMorrisJobke left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Code makes sense and works 👍

@MorrisJobkeMorrisJobke added 4. to release Ready to be released and/or waiting for tests to finish and removed 2. developing Work in progress labels Mar 20, 2019
@MorrisJobke

Copy link
Copy Markdown
Member

Status of 17173: failure

TESTS=acceptance, TESTS-ACCEPTANCE=app-files-sharing

  • cancelled - typically means that the tests took longer than the drone CI allows them to run

TESTS=acceptance, TESTS-ACCEPTANCE=app-files-sharing-link

  • cancelled - typically means that the tests took longer than the drone CI allows them to run

@MorrisJobke
MorrisJobke merged commit 8781a77 into nextcloud:stable15Mar 20, 2019
@MorrisJobkeMorrisJobke changed the title groupname like username - allow share with both[stable15] groupname like username - allow share with bothMar 20, 2019
@backportbot-nextcloud

Copy link
Copy Markdown

backport to master in #14766

@rullzerrullzer mentioned this pull request Mar 29, 2019
1 task
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to releaseReady to be released and/or waiting for tests to finishbugfeature: sharing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@aignerat@MorrisJobke@ChristophWurst@rullzer