Skip to content

Conversation

@schiessle
Copy link
Member

take share by mail into consideration if we calculate the access list to allow people to access encrypted files shared by mail.

cc @rullzer we still use the old API here, am I right that we don't have a similar function for the new share API? I only found, which looks scary https://github.com/nextcloud/server/blob/master/lib/private/Share20/Manager.php#L1194 😉

fix #3751

@rullzer
Copy link
Member

rullzer commented Mar 14, 2017

@schiessle there is #2834 but that has speed issues (because this one actually calculates the correct paths for all users).

@schiessle
Copy link
Member Author

Steps to test:

  • Enable encryption
  • upload/create a file so that it is encrypted
  • share file by mail
  • try to access it

-> before it will fail, with this PR it should work

anyone wants to review it... @nickvergessen @rullzer @nextcloud/encryption ?

Copy link
Member

@nickvergessen nickvergessen left a comment

Choose a reason for hiding this comment

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

Solution looks good and is simple enough for a backport

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.

Encryption module "Default encryption module" is not able to read [...]

5 participants