Skip to content

Add domain-based sharing warnings and restrictions #2651

Description

@virgile-dev

Feature Request

Is your feature request related to a problem or unsupported use case? Please describe.
When sharing documents or resources, there is no warning or safeguard to prevent accidental sharing outside of the user's domain (e.g., a user with a numerique.gouv.fr email sharing a document with users whose email doesn't contain .gouv.fr). This increases the risk of unintended data exposure, especially for sensitive information that should remain within government domains.

Describe the solution you'd like
Add a Domain-Based Sharing Warning:

  • Implement a warning popup when a user attempts to share a document or resource with users outside their domain
  • The warning should clearly state: "You are sharing this document outside of gouv.fr. This may expose sensitive information. Are you sure you want to proceed?"

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    driveissues which will be more pertinent if done on the drive appsecurity

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions