-
Notifications
You must be signed in to change notification settings - Fork 189
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
Change storage.js to support the adding of feeds #706
Comments
This next step will probably have to be added in 0.8. |
I'm still trying to decide the best way to approach this. My goals are:
User A authenticates with the SSO provider. We get back a "profile" object that has some data, probably email, username, a user id, etc. User A wants to add a feed. When we create that feed, we can stamp it with the user's info somehow (maybe add their A few days later, User A returns and wants to see all her feeds again. This means we need a reverse lookup that shows us all of User A's feeds. That might be enough. Maybe we should also keep a set of users TODO:
|
I think this can be closed now, as we have coverage for everything in other issues. I want to try and do a bunch of it without modifying the backend significantly. |
What would you like to be added:
We need to change code in
storage.js
to allow new namespaces:t:user:
to store feeds for individual users, one user can have multiple feeds for examplet:user:[email protected]
can contain a feed for OSD700 and one for SPO600We'll need a new redis key called
t:users
We need additional functions to:
t:feed:ab3b313
will becomet:feed:ab3b313:admin
since we won't have a user to attach to them.So in the end we'll have the following sets:
storage.js
is code we use to interact with Redis,feed.js
andpost.js
will also have to be updated to also use the new code that will be written instorage.js
. However we'll only focus on updatingstorage.js
code in here for now.Why would you like this to be added:
We need additional functionality to support the adding of feeds
The text was updated successfully, but these errors were encountered: