Separate External sharing menu into E-mail share and Federated sharing and show each dependent on configuration.

Ouverte
#66,808 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
5/5
Temps estimé
Plus d'une semaine
Accessibilité débutants
25/100
Type d'issue
Fonctionnalité
Clarté
Plutôt claire
Activité
Active
Stack technique
php

Piste de recherche

Read the linked configuration issue #66807 and existing sharing policy behavior, then inspect the server sharing menu and the related federated sharing issues #59068 and #50656. The requested work spans menu separation, configuration dependent visibility, and desktop client alignment; done means the two methods are independently controlled and the related federated sharing problems are addressed.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

0. Needs triage enhancement

[!TIP]

Help move this idea forward
  • Use the 👍 reaction to show support for this feature.
  • Avoid commenting unless you have relevant information to add; unnecessary comments create noise for subscribers.
  • Subscribe to receive notifications about status changes and new comments.

Is your feature request related to a problem? Please describe.
External sharing shows a combined menu for E-mail share* and Federated Sharing.
For servers with trusted networks for federated sharing or any type of guest account solution it may be preferable to disable e-mail share since e-mail share is not account bound and not protected by the server's MFA solution.

The more secure method of sharing may often be federated sharing, but this feature shares the menu with e-mail share and is more complex in execution and requires more extensive communication and preparation (asking the external user for their preferred method of sharing, guest account or federated sharing, and requesting their federated cloud id, of which the personal part may differ from their public mail address). Therefore users may be tempted to use e-mail share. When users use e-mail sharing instead of federated sharing the recipient also needs to access the content via the link each time and they cannot sync the content with the desktop sync client.

  • It is only possible to disable E-mail share together with the entire public link feature through the server Sharing policy configuration.
    The here linked issue proposes a solution where this configuration is split into multiple elements: https://github.com/nextcloud/server/issues/66807

The here linked issue states disabling the exisiting combined public link and e-mail share server setting does not remove any references to e-mail share in the sharing menu: https://github.com/nextcloud/server/issues/59083
This solution proposed in the issue you are viewing would solve above linked issue.

When redesigning the Federated Sharing menu item the following issues could be adressed as well:

[Bug]: Share with 'UserX' on remote server 'Y' message in federated share menu may show incorrect info.
https://github.com/nextcloud/server/issues/59068
Federated share is listed in internal shares
https://github.com/nextcloud/server/issues/50656

Describe the solution you'd like
Separate show External sharing menu into E-mail share and Federated sharing and show each dependent on configuration. Disabled sharing methods can be either grayed out or not shown. Simultaneously work on https://github.com/nextcloud/server/issues/59068 and https://github.com/nextcloud/server/issues/50656.

Align with https://github.com/nextcloud/desktop
As well as address desktop issues like:
https://github.com/nextcloud/desktop/issues/9237
https://github.com/nextcloud/desktop/issues/8620

Describe alternatives you've considered
A solution where https://github.com/nextcloud/server/issues/66807 and https://github.com/nextcloud/server/issues/59083 are both adressed but e-mail share and Federated Sharing remain in the same menu item.

Simultaneously work on https://github.com/nextcloud/server/issues/59068 and https://github.com/nextcloud/server/issues/50656.

Additional context
Using Nextcloud 33.0.9.3

Langage dominant
PHP
Étoiles
37.6k
Forks
5.4k
Merge moyen
1 j 13 h
PR mergées (30 j)
623

Préparer son environnement

Ouvrir dans Codespaces

Lance le conteneur de développement du projet dans votre navigateur, avec votre propre compte GitHub.

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de nextcloud/server

Toutes les issues de nextcloud/server

Issues similaires

Plus d'issues PHP

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.