Skip to content

Allow to share only to e2e enabled users #36559

Open
@tobiasKaminsky

Description

For our new e2e sharing it would be great that clients can directly query for users that have e2e setup already.
Otherwise users would see all sharees, select one and then get message that e2e is not set up for them and thus sharing is not possible.

route: ocs/v2.php/apps/files_sharing/api/v1/sharees
extra parameter could be: e2e user: yes/no

We have in our e2e app already a way to check if public key exists:
https://github.com/nextcloud/end_to_end_encryption/blob/master/lib/Capabilities.php#L48

So if this is true, then this user can be shown.

It would be great to have this in NC26, as we then can same quite some work on our clients.
If not, please tell us soon, so that we can prepare for it.
Either way, I think this should be done, even after NC26 as this is a way better UX.

@AndyScherzinger (as "team lead")

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions