Split server sharing policy settings for 'Allow users to share via link and email'

Ouverte
#66,807 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é
4/5
Temps estimé
3-5 jours
Accessibilité débutants
42/100
Type d'issue
Fonctionnalité
Clarté
Plutôt claire
Activité
Active
Stack technique
php
Domaine
backend

Piste de recherche

Start by reading the sharing policy settings and the existing handling for public link and email sharing in Nextcloud Server. The issue also depends on the menu behavior described in issue #66808 and asks for alignment with the desktop project. Done means the two sharing permissions can be configured independently and the related sharing menu behaves consistently.

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.
It is not possible to enable public link sharing and disable e-mail share (sharing public links by mail) or vice versa.
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, while this feature can not be disabled without disabling public links (which are made through another menu item and require an additional step, namely sharing the public link).

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.

Splitting and configuration dependently showing the sharing method menu is another issue: https://github.com/nextcloud/server/issues/66808

Describe the solution you'd like
To split the Sharing Policy configuration for 'Allow users to share via link and email' into:

  • 'Allow users to share via public link (required for e-mail share)'
  • 'Allow users to share public links via email'

Combine this solution with a solution for https://github.com/nextcloud/server/issues/66808

Align with https://github.com/nextcloud/desktop

Describe alternatives you've considered
None

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.