Skip to content

Allow upload by the admin only #79

@aminnairi

Description

@aminnairi

Problem statement

Currently, everyone can upload on any quickdrop instance, which can be unintentional for administrators wanting to provide only download capabilities, but not to be able to upload from anyone.

Proposed solution

Provide an environment variable like ADMIN_UPLOAD_ONLY: true in order to prevent uploads from anonymous. This should still allow download from anyone, or per the settings.

Alternatives considered

No response

Scope

  • I'm willing to implement this (or help)
  • This needs discussion before implementation

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions