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

Add unlogged (guest) access #49

Open
gahabeen opened this issue Apr 27, 2020 · 0 comments
Open

Add unlogged (guest) access #49

gahabeen opened this issue Apr 27, 2020 · 0 comments
Assignees
Labels
feature type: additions priority: low priority proposal type: status

Comments

@gahabeen
Copy link
Owner

gahabeen commented Apr 27, 2020

Summary

Give access to a document via a unique token.
The access can only have a get right (read).
We can imagine giving permissions to the relations inside the document with the same read right.

Mechanisms could be:

  • create a session for this document
  • generate a session token (hence specific to the dixit document)

This way the token can have an easy expiration management system.

Basic example

db.document('emails', '123').share()

Motivation

It's a fairly common feature that lets you share some information with external users.

@gahabeen gahabeen added priority: medium priority proposal type: status feature type: additions labels Apr 27, 2020
@gahabeen gahabeen self-assigned this Apr 27, 2020
@gahabeen gahabeen changed the title Add guests access Add unlogged (guests) access Apr 27, 2020
@gahabeen gahabeen added priority: low priority and removed priority: medium priority labels Apr 27, 2020
@gahabeen gahabeen changed the title Add unlogged (guests) access Add unlogged (guest) access Apr 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature type: additions priority: low priority proposal type: status
Projects
None yet
Development

No branches or pull requests

1 participant