Skip to content

Allow administrators to disable editable public links while keeping read-only public links enabled #62031

Description

@BlackBulletBrony

As a server administrator, I want users to be able to create public links only for viewing and downloading files.
Currently, users can also grant the "Edit" permission to public link shares. There is no administrative setting to disable editable public links while still allowing normal read-only public links.
The existing "Allow public uploads" option only controls File Drop and does not affect editable public links.

Please add a server-wide option to disable the "Edit" permission for public link shares.
When enabled:

  • users can still create public links;
  • public links are always read-only;
  • the "Edit" permission is hidden or disabled in the sharing dialog;
  • attempts to grant edit permission through the API are rejected.
    This option should be independent from the existing "Allow public uploads" setting.

The only current alternatives are disabling public links entirely or modifying the Nextcloud source code after every update. Neither is suitable.
This feature would allow administrators to enforce a read-only public sharing policy without disabling public links completely.

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending check for reproducibility or if it fits our roadmapenhancement

    Fields

    No fields configured for Enhancement.

    Projects

    Status
    To triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions