Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
publicsshareprovider: Allow creating/updating public links on receive…
…d shares The permission check when trying to create an internal link of a received share did not work correctly. Internal links have all Permissions set to false. The 'SufficientCS3Permissions' method treats an all-false PermissionSet as a deny grant, which a wrong in the public link case. We can skip the 'SufficientCS3Permissions' check for internal links however, since the creation of a internal link should always be allowed as long as the user has the 'AddGrant' permission. Related Issue: owncloud/ocis#8039
- Loading branch information