[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #10754 [Tor Support]: Implement an invitation based token system into webchat



#10754: Implement an invitation based token system into webchat
-----------------------------+----------------------------
     Reporter:  Sherief      |      Owner:  Sherief
         Type:  task         |     Status:  needs_revision
     Priority:  blocker      |  Milestone:
    Component:  Tor Support  |    Version:
   Resolution:               |   Keywords:  SponsorO
Actual Points:               |  Parent ID:  #10755
       Points:               |
-----------------------------+----------------------------

Comment (by Sherief):

 Replying to [comment:20 lunar]:


 > Replying to [comment:18 Sherief]:
 >
 > > I will add a revoked flag in the Token() model to differentiate
 between expiration and revoke.
 > >
 >
 > I'm not sure if that's really information of interest. As long as the
 token does not work anymore, I think it's fine. This could simply be done
 by changing the expiration date.
 >

 Based on what you said I'll just change delete_token() to revoke_token()
 which will just modify the expiration date (eg: now - 1 day).

 chat() will display either display "token doesn't exist" for invalid
 tokens (wrong input) or "token expired" for revoked/expired tokens.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/10754#comment:21>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs