Skip to content
This repository has been archived by the owner on Dec 21, 2018. It is now read-only.

implement token auth models #175

Closed
willkg opened this issue Aug 26, 2016 · 2 comments
Closed

implement token auth models #175

willkg opened this issue Aug 26, 2016 · 2 comments
Assignees

Comments

@willkg
Copy link
Member

willkg commented Aug 26, 2016

We want to have an API for the IRC bot as well as for users to do their own thing. This requires two types of tokens:

  1. site-wide tokens that can post for everyone
  2. user-centric tokens that can only do things on behalf of the token-owning user

The current standup has one single site-wide token, but I think it's prudent for us to allow for a bunch of them and have them tied to a specific use (irc bot, slack bot, etc).

The current standup does not have user-centric tokens. I think that's a mistake. I think it'd be a lot easier if we could write our own standup clients and for that we need user-centric tokens.

This issue covers implementing token authentication models. I think we want to store user tokens in the StandupUser model. We want to store site tokens in their own model which hasn't been implemented, yet.

@willkg willkg self-assigned this Aug 26, 2016
@willkg willkg modified the milestone: standup v2: mvp Aug 26, 2016
@willkg
Copy link
Member Author

willkg commented Aug 30, 2016

I implemented a SystemToken in PR #192. That covers item 1.

I'm pushing item 2 off to a separate issue because we don't need it for the MVP and it involves some additional things like permissions or something like that.

@willkg
Copy link
Member Author

willkg commented Aug 30, 2016

Issue #199 covers user-centric tokens. Closing this one out.

@willkg willkg closed this as completed Aug 30, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant