Skip to content

[stable11] Add recovery key on public upload - #5631

Merged
schiessle merged 2 commits into
stable11from
add-recovery-key-on-public-upload-stable11
Jul 20, 2017
Merged

schiessle merged 2 commits into
stable11from
add-recovery-key-on-public-upload-stable11

Conversation

@schiessle

Copy link
Copy Markdown
Member

In order to decide if a recovery key needs to be added we always
need to check the files owner settings and not the settings of
the currently logged in user.

backport of #5629

@schiessle schiessle added this to the Nextcloud 11.0.4 milestone Jul 6, 2017
@schiessle schiessle changed the title Add recovery key on public upload [stable11] Add recovery key on public upload Jul 6, 2017

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

Works

@codecov

codecov Bot commented Jul 17, 2017 •

Copy link
Copy Markdown

Codecov Report

Merging #5631 into stable11 will decrease coverage by 14.24%.
The diff coverage is 85.71%.

@@               Coverage Diff               @@
##             stable11    #5631       +/-   ##
===============================================
- Coverage       57.41%   43.16%   -14.25%     
+ Complexity      19458    18454     -1004     
===============================================
  Files            1215     1205       -10     
  Lines           72673    68295     -4378     
  Branches         1239     1334       +95     
===============================================
- Hits            41725    29480    -12245     
- Misses          30948    38815     +7867
Impacted Files Coverage Δ Complexity Δ
apps/encryption/lib/Crypto/Encryption.php 58.33% <85.71%> (-25.11%) 57 <2> (+2)
...pps/files/lib/Activity/Settings/FavoriteAction.php 0% <0%> (-100%) 8% <0%> (ø)
...ivate/IntegrityCheck/Helpers/EnvironmentHelper.php 0% <0%> (-100%) 2% <0%> (ø)
apps/sharebymail/tests/SettingsTest.php 0% <0%> (-100%) 2% <0%> (ø)
lib/private/Files/SimpleFS/SimpleFolder.php 0% <0%> (-100%) 11% <0%> (ø)
lib/private/App/CodeChecker/EmptyCheck.php 0% <0%> (-100%) 6% <0%> (ø)
lib/private/IntegrityCheck/Helpers/AppLocator.php 0% <0%> (-100%) 3% <0%> (ø)
lib/public/AppFramework/Http/DownloadResponse.php 0% <0%> (-100%) 1% <0%> (ø)
...curity/Exceptions/StrictCookieMissingException.php 0% <0%> (-100%) 1% <0%> (ø)
...vate/Security/CSP/ContentSecurityPolicyManager.php 0% <0%> (-100%) 8% <0%> (ø)
... and 555 more

@schiessle
schiessle force-pushed the add-recovery-key-on-public-upload-stable11 branch from 51665b5 to 4a3466d Compare July 17, 2017 13:55
In order to decide if a recovery key needs to be added we always
need to check the files owner settings and not the settings of
the currently logged in user.

Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
@schiessle
schiessle force-pushed the add-recovery-key-on-public-upload-stable11 branch from 4a3466d to d3039b8 Compare July 20, 2017 09:43
@schiessle
schiessle merged commit ed9a4c2 into stable11 Jul 20, 2017
@schiessle
schiessle deleted the add-recovery-key-on-public-upload-stable11 branch July 20, 2017 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants