Skip to content

prepare to support maintainer actions #158

Open
@tayloraswift

Description

@tayloraswift

the next big priority for us should be supporting maintainer configuration through the web UI, since Swift Package Index’s experience with checked-in configuration files has not been great.

there will be some actions that are initially admin-only, and some actions available to maintainers.

  • Uplink, Unlink, Delete these have major potential to disrupt the site’s operations, so they should remain admin-only.
  • Hide/Unhide package ditto.
  • Rename package this should be okay
  • Transfer package realm this should be admin only for now, otherwise people could add things to realms they do not own
  • Create package realm should be admin-only, users should have realms created for them
  • Alias package should be admin-only, as it consumes names from the global namespace
  • Index package tag could be abused to DoS the site, so it has to be admin-only for now, but we should place a rate limit on it as it is a common task that maintainers would want to do. we should consider providing an alternative Queue package for tags fetch instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions