Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

registry: Namespace support for orgs #185

Open
kpcyrd opened this issue Sep 13, 2020 · 0 comments
Open

registry: Namespace support for orgs #185

kpcyrd opened this issue Sep 13, 2020 · 0 comments

Comments

@kpcyrd
Copy link
Owner

kpcyrd commented Sep 13, 2020

There's currently no way for a github org to publish in their namespace, because the sn0int registry authenticates the github username through oauth (which can't be done for orgs, even if the user owns that org).

A github org should be able to use their namespace as well, the challenges are:

  • it's not obvious how to check if the user belongs to the org
  • even if the user belongs to the org, the org may not want to grant publish permissions to every user.

One possible solution (if no better solution can be found) would be a repository that's fetched from 'https://github.com/ORG_NAME/sn0int-auth` that lists the github users that are allowed to publish in ORG_NAME.

This repo could also contain encrypted auth keys that don't belong to a specific user so it's possible to publish modules with github actions.

As mentioned in sysdogs/sn0int-modules#2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant