haskell / haskell/hackage-server

Allowed to scope ACCESS TOKENS to individual packages

Open
#1,378 0 comments 0 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
Haskell
Stars
467
Forks
225
PR merge metrics
No merged PRs in 30d

Description

Currently, access tokens are scoped to the user account.

I use these tokens to automate Hackage releases.

For packages that I co-maintain with a group of people, I would strongly prefer the ability to create tokens scoped to individual packages (or a group of packages) only.

As a side note, in addition to

```
Authorization: X-ApiKey [YOUR-TOKEN-HERE]
```

should the API also accept the more standard

```
Authorization: Bearer [YOUR-TOKEN-HERE]
```
?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.