-
Notifications
You must be signed in to change notification settings - Fork 24
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
More high-level admin documentation #95
Comments
i suppose these things aren't as well documented by hoodie for two reasons:
django, for example, has excellent documentation of sessions, admin actions, and groups (analogous to roles). a little more documentation could definitely be helpful, however, as hoodie is a little different than libraries for the server-side. an easy way to get started on such documentation might be in the form of brief descriptions, links to other projects, and then descriptions of the difference (or possibly "the hoodie difference ™/∇") between these terms as they're used in other libraries and what they mean wrt. hoodie. |
Sorry this is all in the flux, better documentation is lucking, but let me give this a spin.
For now,
This definitely need some explanation. Requests is a simple way to extend the You can pass a
Tokens allow a user to sign in / authenticate once. For example, instead of sending a new password in an email as response to a password reset request, we should send a token. We would store this token in the user account and remove it once it has been used.
Roles can be used for things like user groups, sharing data, etc. Roles directly map to CouchDB’s roles, they can be used to give a user read/write access to a database. For example, we want to implement user groups in the future, probably as a plugin. The plugin would listen for a new signup, store the company of the user in a separate database like |
Awesome! Chatting with @gr2m I also asked how you use the sessions generated by |
as a side note, we do not use cookies but send session ids in request headers, so you can have several sessions at the same time in the same browser. For example you can be signed in as an admin and as a user, which is why we can put the admin dashboard at |
Good to know 😁 |
The text was updated successfully, but these errors were encountered: