Skip to content

Confirm the interest of the new feature: exception to the "Restrict users to only share with users from their groups" option so that users from certain groups cannot share with each other #37677

@dorianne-arawa

Description

@dorianne-arawa

Author : Arawa company

Important

We would like to develop a new feature to Nextcloud (through a PR). If you want to go fast on this issue, please only tell us if you validate the benefit of this feature. If yes, we will submit it through a PR (we are not asking to develop a feature, we we propose to develop it ourselves).

Request for validation of a new feature

Location of the feature

We wish to add an additional option to the Sharing settings available for the instance admins (Settings > Administration > Sharing).

Description of the feature

  • One of the current available option is Restrict users to only share with users from their groups
  • If the box for this setting is checked, we would like to add a selection field + text below this setting:
    • the text explains what the selection field does:
      • if a group (or groups) is inserted in this field, e.g. the local group "Guests", then users in the Guest group will not be able to share with each other
        • we have suggested a text that can be changed later on, so that it can be as clear as possible (see the screenshots below)
    • the selection field will display all the user groups of the instance (local and directory/LDAP) and will allow admins to insert one or more groups in this field

Benefits of this feature

  • more privacy
  • more flexible and detailed sharing options
  • make "waterproof": avoid that users see each other if they shouldn't

Use case to demonstrate a benefit

In this example, the organization checked the admin setting Restrict users to only share with users from their groups and use a “Guest” group in their directory (LDAP) to group all their external users. This LDAP Guest group would then be created in Nextcloud, meaning all the guests would be able to see each other, even though they are not from the same companies. This represents a loss of privacy.

This is one example among others.

Model / Mock-up

  • New option when Restrict users to only share with users from their groups is checked
    2023 04 03 maquette en pour PR 01

  • Choice of groups affected by the exception
    2023 04 03 maquette en pour PR 02

Do not hesitate if you have any questions regarding this subject.

Nextcloud form to request a new feature

Is your feature request related to a problem? Please describe.

  • we use the sharing option Restrict users to only share with users from their groups (available in Settings > Administration > Sharing)
  • however, we have one group that gathers users who must not see or share with each other
  • problem: the option Restrict users to only share with users from their groups is useless because of this one group

Describe the solution you'd like

  • If the box for this setting is checked, we would like to add a selection field + text below this setting:
    • the text explains what the selection field does:
      • if a group (or groups) is inserted in this field, e.g. the local group "Guests", then users in the Guest group will not be able to share with each other (we have suggested a text that can be changed later on, so that it can be as clear as possible (see the screenshots below))
    • the selection field will display all the user groups of the instance (local and directory/LDAP) and will allow admins to insert one or more groups in this field

Describe alternatives you've considered

  • avoid groups containing users who should not see each other (lack of flexibility)

How to use GitHub

  • Please use the 👍 reaction to show that you are interested into the same feature.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

As a reminder

We would like to develop a new feature to Nextcloud (through a PR). If you want to go fast on this issue, please only tell us if you validate the benefit of this feature. If yes, we will submit it through a PR (we are not asking to develop a feature, we we propose to develop it ourselves).

Metadata

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