Skip to content

Add recovery key on public upload - #5629

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

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

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.

Bug also exists in stable12 and stable11, therefore I would suggest to backport it.

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

Work

@codecov

codecov Bot commented Jul 17, 2017 •

Copy link
Copy Markdown

Codecov Report

Merging #5629 into master will decrease coverage by <.01%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master    #5629      +/-   ##
============================================
- Coverage     53.87%   53.87%   -0.01%     
+ Complexity    22761    22757       -4     
============================================
  Files          1405     1405              
  Lines         86714    86716       +2     
  Branches       1328     1328              
============================================
+ Hits          46716    46717       +1     
- Misses        39998    39999       +1
Impacted Files Coverage Δ Complexity Δ
apps/encryption/lib/Crypto/Encryption.php 84.7% <100%> (+0.46%) 58 <2> (+2) ⬆️
lib/private/legacy/defaults.php 34.57% <0%> (-8.42%) 45% <0%> (ø)
lib/private/Files/Filesystem.php 67.18% <0%> (-1.06%) 119% <0%> (+2%)
apps/theming/lib/ThemingDefaults.php 87.5% <0%> (-0.93%) 35% <0%> (-3%)
lib/private/Files/View.php 85.86% <0%> (-0.28%) 363% <0%> (+1%)
lib/private/User/Manager.php 85.56% <0%> (-0.15%) 74% <0%> (-3%)
core/routes.php 0% <0%> (ø) 0% <0%> (ø) ⬇️
lib/private/Share20/ProviderFactory.php 85.18% <0%> (ø) 31% <0%> (ø) ⬇️
lib/private/Hooks/PublicEmitter.php 100% <0%> (ø) 1% <0%> (ø) ⬇️
...es_sharing/lib/Controller/ShareesAPIController.php 66.03% <0%> (ø) 111% <0%> (ø) ⬇️
... and 11 more

@schiessle
schiessle force-pushed the add-recovery-key-on-public-upload branch 4 times, most recently from 9cc8bc7 to ff71b41 Compare July 17, 2017 13:54
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 branch from ff71b41 to 473824f Compare July 20, 2017 09:40
@schiessle
schiessle merged commit c0e9b37 into master Jul 20, 2017
@schiessle
schiessle deleted the add-recovery-key-on-public-upload 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.

4 participants